=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/openssl/ciphers.c,v retrieving revision 1.11 retrieving revision 1.12 diff -u -r1.11 -r1.12 --- src/usr.bin/openssl/ciphers.c 2022/07/14 08:07:54 1.11 +++ src/usr.bin/openssl/ciphers.c 2022/07/14 08:35:15 1.12 @@ -1,4 +1,4 @@ -/* $OpenBSD: ciphers.c,v 1.11 2022/07/14 08:07:54 tb Exp $ */ +/* $OpenBSD: ciphers.c,v 1.12 2022/07/14 08:35:15 tb Exp $ */ /* * Copyright (c) 2014 Joel Sing * @@ -109,7 +109,7 @@ return (1); } - if ((ssl_ctx = SSL_CTX_new(TLSv1_client_method())) == NULL) + if ((ssl_ctx = SSL_CTX_new(TLS_client_method())) == NULL) goto err; if (cipherlist != NULL) {