]> git.ipfire.org Git - thirdparty/gnutls.git/commitdiff
The PEM header for certificate requests is now BEGIN NEW CERTIFICATE REQUEST.
authorNikos Mavrogiannopoulos <nmav@gnutls.org>
Wed, 16 Apr 2003 19:11:29 +0000 (19:11 +0000)
committerNikos Mavrogiannopoulos <nmav@gnutls.org>
Wed, 16 Apr 2003 19:11:29 +0000 (19:11 +0000)
lib/x509/crq.c

index 2721d91c693db75d0f8891e9ccd1d212688122d8..4fdb8ed0a8423034407ce4d9ee2ab0835db4ff37 100644 (file)
@@ -81,7 +81,7 @@ void gnutls_x509_crq_deinit(gnutls_x509_crq crq)
        gnutls_free(crq);
 }
 
-#define PEM_CRQ "CERTIFICATE REQUEST"
+#define PEM_CRQ "NEW CERTIFICATE REQUEST"
 
 /**
   * gnutls_x509_crq_import - This function will import a DER or PEM encoded Certificate request
@@ -92,7 +92,7 @@ void gnutls_x509_crq_deinit(gnutls_x509_crq crq)
   * This function will convert the given DER or PEM encoded Certificate
   * to the native gnutls_x509_crq format. The output will be stored in 'cert'.
   *
-  * If the Certificate is PEM encoded it should have a header of "CERTIFICATE REQUEST".
+  * If the Certificate is PEM encoded it should have a header of "NEW CERTIFICATE REQUEST".
   *
   * Returns 0 on success.
   *
@@ -609,7 +609,7 @@ gnutls_datum signature;
   * GNUTLS_E_SHORT_MEMORY_BUFFER will be returned.
   *
   * If the structure is PEM encoded, it will have a header
-  * of "BEGIN CERTIFICATE REQUEST".
+  * of "BEGIN NEW CERTIFICATE REQUEST".
   *
   * In case of failure a negative value will be returned, and
   * 0 on success.