Documents the SCT validation functions
[openssl.git] / doc / crypto / EVP_PKEY_keygen.pod
index cebd95b5a11c6b1809a7f4040e0f5ab5112f7309..5b8b635cc50c796fd60ee48ea5e62450c0924a21 100644 (file)
@@ -134,15 +134,15 @@ Example of generation callback for OpenSSL public key implementations:
 
  static int genpkey_cb(EVP_PKEY_CTX *ctx)
         {
-        char c='*';
+        char c = '*';
         BIO *b = EVP_PKEY_CTX_get_app_data(ctx);
         int p;
         p = EVP_PKEY_CTX_get_keygen_info(ctx, 0);
-        if (p == 0) c='.';
-        if (p == 1) c='+';
-        if (p == 2) c='*';
-        if (p == 3) c='\n';
-        BIO_write(b,&c,1);
+        if (p == 0) c = '.';
+        if (p == 1) c = '+';
+        if (p == 2) c = '*';
+        if (p == 3) c = '\n';
+        BIO_write(b, &c, 1);
         (void)BIO_flush(b);
         return 1;
         }