- if (!self->use_ssl) {
- device_set_error(p_self, stralloc(_(
- "Path to certificate authority certificate can not be "
- "set if SSL/TLS is not being used.")),
- DEVICE_STATUS_DEVICE_ERROR);
- return FALSE;
- }
+ amfree(self->storage_class);
+ self->storage_class = str_val;
+ device_clear_volume_details(p_self);
+
+ return device_simple_property_set_fn(p_self, base, val, surety, source);
+}
+
+static gboolean
+s3_device_set_ca_info_fn(Device *p_self, DevicePropertyBase *base,
+ GValue *val, PropertySurety surety, PropertySource source)
+{
+ S3Device *self = S3_DEVICE(p_self);