Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/usr.bin/nbsvtool mark old compat functions.



details:   https://anonhg.NetBSD.org/src/rev/b276b4a6eba4
branches:  trunk
changeset: 829607:b276b4a6eba4
user:      christos <christos%NetBSD.org@localhost>
date:      Tue Feb 06 20:15:39 2018 +0000

description:
mark old compat functions.

diffstat:

 usr.bin/nbsvtool/nbsvtool.c |  4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diffs (20 lines):

diff -r 3b2e40466f81 -r b276b4a6eba4 usr.bin/nbsvtool/nbsvtool.c
--- a/usr.bin/nbsvtool/nbsvtool.c       Tue Feb 06 20:10:05 2018 +0000
+++ b/usr.bin/nbsvtool/nbsvtool.c       Tue Feb 06 20:15:39 2018 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: nbsvtool.c,v 1.3 2018/02/06 19:51:03 christos Exp $    */
+/*     $NetBSD: nbsvtool.c,v 1.4 2018/02/06 20:15:39 christos Exp $    */
 
 /*-
  * Copyright (c) 2004, 2008 The NetBSD Foundation, Inc.
@@ -309,8 +309,10 @@
     
        setprogname(argv[0]);
 
+#if OPENSSL_VERSION_NUMBER < 0x10100000L
        OpenSSL_add_all_algorithms();
        ERR_load_crypto_strings();
+#endif
 
        while ((ch = getopt(argc, argv, "a:c:f:hk:u:v")) != -1) {
                switch (ch) {



Home | Main Index | Thread Index | Old Index