-/* $OpenBSD: ciphers.c,v 1.24 2014/07/12 17:54:31 jsing Exp $ */
+/* $OpenBSD: ciphers.c,v 1.25 2014/07/12 19:31:21 jsing Exp $ */
/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
* All rights reserved.
*
BIO_printf(bio_err, "%s", *pp);
goto end;
}
- OpenSSL_add_ssl_algorithms();
ctx = SSL_CTX_new(meth);
if (ctx == NULL)
if (ssl == NULL)
goto err;
-
if (!verbose) {
for (i = 0; ; i++) {
p = SSL_get_cipher_list(ssl, i);
ret = 0;
if (0) {
err:
- SSL_load_error_strings();
ERR_print_errors(bio_err);
}
-/* $OpenBSD: engine.c,v 1.25 2014/07/12 17:54:31 jsing Exp $ */
+/* $OpenBSD: engine.c,v 1.26 2014/07/12 19:31:21 jsing Exp $ */
/* Written by Richard Levitte <richard@levitte.org> for the OpenSSL
* project 2000.
*/
BIO *bio_out = NULL;
const char *indent = " ";
- SSL_load_error_strings();
-
bio_out = BIO_new_fp(stdout, BIO_NOCLOSE);
argc--;
-/* $OpenBSD: errstr.c,v 1.17 2014/06/12 15:49:27 deraadt Exp $ */
+/* $OpenBSD: errstr.c,v 1.18 2014/07/12 19:31:21 jsing Exp $ */
/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
* All rights reserved.
*
char buf[256];
unsigned long l;
- SSL_load_error_strings();
-
if ((argc > 1) && (strcmp(argv[1], "-stats") == 0)) {
BIO *out = NULL;
-/* $OpenBSD: ocsp.c,v 1.28 2014/07/12 17:54:31 jsing Exp $ */
+/* $OpenBSD: ocsp.c,v 1.29 2014/07/12 19:31:21 jsing Exp $ */
/* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL
* project 2000.
*/
const EVP_MD *cert_id_md = NULL;
const char *errstr = NULL;
- SSL_load_error_strings();
- OpenSSL_add_ssl_algorithms();
-
args = argv + 1;
reqnames = sk_OPENSSL_STRING_new_null();
ids = sk_OCSP_CERTID_new_null();
-/* $OpenBSD: openssl.c,v 1.40 2014/07/12 17:54:31 jsing Exp $ */
+/* $OpenBSD: openssl.c,v 1.41 2014/07/12 19:31:21 jsing Exp $ */
/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
* All rights reserved.
*
signal(SIGPIPE, SIG_IGN);
CRYPTO_malloc_init();
- ERR_load_crypto_strings();
OpenSSL_add_all_algorithms();
+ SSL_library_init();
+ SSL_load_error_strings();
#ifndef OPENSSL_NO_ENGINE
ENGINE_load_builtin_engines();
-/* $OpenBSD: s_client.c,v 1.67 2014/07/12 17:54:31 jsing Exp $ */
+/* $OpenBSD: s_client.c,v 1.68 2014/07/12 19:31:21 jsing Exp $ */
/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
* All rights reserved.
*
goto end;
}
- OpenSSL_add_ssl_algorithms();
- SSL_load_error_strings();
-
#if !defined(OPENSSL_NO_TLSEXT) && !defined(OPENSSL_NO_NEXTPROTONEG)
next_proto.status = -1;
if (next_proto_neg_in) {
-/* $OpenBSD: s_server.c,v 1.59 2014/07/12 17:54:31 jsing Exp $ */
+/* $OpenBSD: s_server.c,v 1.60 2014/07/12 19:31:21 jsing Exp $ */
/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
* All rights reserved.
*
goto end;
}
- SSL_load_error_strings();
- OpenSSL_add_ssl_algorithms();
-
#ifndef OPENSSL_NO_ENGINE
e = setup_engine(bio_err, engine_id, 1);
#endif
-/* $OpenBSD: s_time.c,v 1.32 2014/06/28 04:39:41 deraadt Exp $ */
+/* $OpenBSD: s_time.c,v 1.33 2014/07/12 19:31:21 jsing Exp $ */
/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
* All rights reserved.
*
if (parseArgs(argc, argv) < 0)
goto end;
- OpenSSL_add_ssl_algorithms();
if ((tm_ctx = SSL_CTX_new(s_time_meth)) == NULL)
return (1);
if (!set_cert_stuff(tm_ctx, t_cert_file, t_key_file))
goto end;
- SSL_load_error_strings();
-
if ((!SSL_CTX_load_verify_locations(tm_ctx, CAfile, CApath)) ||
(!SSL_CTX_set_default_verify_paths(tm_ctx))) {
/*