Commit 9ad1b440 authored by Richard Levitte's avatar Richard Levitte
Browse files

cipher should only be set to PSK if JPAKE is used.

parent 9275ad32
Loading
Loading
Loading
Loading
+6 −7
Original line number Diff line number Diff line
@@ -749,14 +749,13 @@ bad:
			goto end;
			}
		psk_identity = "JPAKE";
		}

		if (cipher)
			{
			BIO_printf(bio_err, "JPAKE sets cipher to PSK\n");
			goto end;
			}
		cipher = "PSK";
		}
#endif

	OpenSSL_add_ssl_algorithms();