summaryrefslogtreecommitdiffstats
path: root/src/crypto/clientcert.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/crypto/clientcert.c')
-rw-r--r--src/crypto/clientcert.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/crypto/clientcert.c b/src/crypto/clientcert.c
index 6f6bf1135..b09c880ac 100644
--- a/src/crypto/clientcert.c
+++ b/src/crypto/clientcert.c
@@ -128,8 +128,8 @@ static int clientcert_apply_settings ( void ) {
/* Fetch new client certificate, if any */
free ( cert );
- if ( ( len = fetch_setting_copy ( NULL, &cert_setting,
- &cert ) ) >= 0 ) {
+ if ( ( len = fetch_raw_setting_copy ( NULL, &cert_setting,
+ &cert ) ) >= 0 ) {
client_certificate.data = cert;
client_certificate.len = len;
}
@@ -140,8 +140,8 @@ static int clientcert_apply_settings ( void ) {
/* Fetch new client private key, if any */
free ( key );
- if ( ( len = fetch_setting_copy ( NULL, &privkey_setting,
- &key ) ) >= 0 ) {
+ if ( ( len = fetch_raw_setting_copy ( NULL, &privkey_setting,
+ &key ) ) >= 0 ) {
client_private_key.data = key;
client_private_key.len = len;
}