Module Name:    src
Committed By:   christos
Date:           Tue Feb  6 20:15:39 UTC 2018

Modified Files:
        src/usr.bin/nbsvtool: nbsvtool.c

Log Message:
mark old compat functions.


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/usr.bin/nbsvtool/nbsvtool.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/usr.bin/nbsvtool/nbsvtool.c
diff -u src/usr.bin/nbsvtool/nbsvtool.c:1.3 src/usr.bin/nbsvtool/nbsvtool.c:1.4
--- src/usr.bin/nbsvtool/nbsvtool.c:1.3	Tue Feb  6 14:51:03 2018
+++ src/usr.bin/nbsvtool/nbsvtool.c	Tue Feb  6 15:15:39 2018
@@ -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 @@ main(int argc, char **argv)
     
 	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) {

Reply via email to