]> git.ipfire.org Git - thirdparty/cups.git/commitdiff
Created certificate should be RSA, not ECDSA.
authorMichael R Sweet <michaelrsweet@gmail.com>
Mon, 11 Apr 2016 21:16:17 +0000 (17:16 -0400)
committerMichael R Sweet <michaelrsweet@gmail.com>
Mon, 11 Apr 2016 21:16:17 +0000 (17:16 -0400)
cups/tls-darwin.c

index c495a6c278ae66927314785ae8818c45aa61b0b7..58c42196d1a4569d9e4f628b730366e08c36c67b 100644 (file)
@@ -107,7 +107,7 @@ cupsMakeServerCredentials(
   if (!keyParams)
     goto cleanup;
 
-  CFDictionaryAddValue(keyParams, kSecAttrKeyType, kSecAttrKeyTypeECDSA);
+  CFDictionaryAddValue(keyParams, kSecAttrKeyType, kSecAttrKeyTypeRSA);
   CFDictionaryAddValue(keyParams, kSecAttrKeySizeInBits, CFSTR("2048"));
   CFDictionaryAddValue(keyParams, kSecAttrLabel, CFSTR("CUPS Self-Signed Certificate"));