Don't stop -cipher from working.
authorDr. Stephen Henson <steve@openssl.org>
Sun, 30 Nov 2008 22:01:31 +0000 (22:01 +0000)
committerDr. Stephen Henson <steve@openssl.org>
Sun, 30 Nov 2008 22:01:31 +0000 (22:01 +0000)
apps/s_server.c

index 3b7fb07..12d39c3 100644 (file)
@@ -1222,16 +1222,16 @@ bad:
                        goto end;
                        }
                psk_identity = "JPAKE";
+               if (cipher)
+                       {
+                       BIO_printf(bio_err, "JPAKE sets cipher to PSK\n");
+                       goto end;
+                       }
+               cipher = "PSK";
                }
 
-       if (cipher)
-               {
-               BIO_printf(bio_err, "JPAKE sets cipher to PSK\n");
-               goto end;
-               }
-       cipher = "PSK";
 #endif
-               
+
        SSL_load_error_strings();
        OpenSSL_add_ssl_algorithms();