From: Nikos Mavrogiannopoulos Date: Thu, 31 May 2012 07:16:25 +0000 (+0200) Subject: documented behavior. X-Git-Tag: gnutls_3_0_21~93 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=aec3ba6b7904d67d0e1a217bcbeaf6a7f04be0f7;p=thirdparty%2Fgnutls.git documented behavior. --- diff --git a/lib/x509/privkey.c b/lib/x509/privkey.c index 5f9496b365..b777caa656 100644 --- a/lib/x509/privkey.c +++ b/lib/x509/privkey.c @@ -421,8 +421,9 @@ error: * native #gnutls_x509_privkey_t format. The output will be stored in * @key . * - * If the key is PEM encoded it should have a header of "RSA PRIVATE - * KEY", or "DSA PRIVATE KEY". + * If the key is PEM encoded it should have a header that contains "PRIVATE + * KEY". Note that this function falls back to PKCS #8 decoding without + * password, if the default format fails to import. * * Returns: On success, %GNUTLS_E_SUCCESS (0) is returned, otherwise a * negative error value.