projects
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
PR: 2908
[openssl.git]
/
apps
/
version.c
diff --git
a/apps/version.c
b/apps/version.c
index a9fda99e0ca7dd69327a85468debb9a94093c7d1..e9555cbde29da0ebd07d6582c47e2c105a7ca808 100644
(file)
--- a/
apps/version.c
+++ b/
apps/version.c
@@
-115,6
+115,7
@@
#include "apps.h"
#include <openssl/evp.h>
#include <openssl/crypto.h>
#include "apps.h"
#include <openssl/evp.h>
#include <openssl/crypto.h>
+#include <openssl/bn.h>
#ifndef OPENSSL_NO_MD2
# include <openssl/md2.h>
#endif
#ifndef OPENSSL_NO_MD2
# include <openssl/md2.h>
#endif
@@
-166,7
+167,7
@@
int MAIN(int argc, char **argv)
date=version=cflags=options=platform=dir=1;
else
{
date=version=cflags=options=platform=dir=1;
else
{
- BIO_printf(bio_err,"usage:version -[avbofp]\n");
+ BIO_printf(bio_err,"usage:version -[avbofp
d
]\n");
ret=1;
goto end;
}
ret=1;
goto end;
}
@@
-181,7
+182,7
@@
int MAIN(int argc, char **argv)
else
{
printf("%s (Library: %s)\n",
else
{
printf("%s (Library: %s)\n",
-
SSLEAY
_VERSION_TEXT,
+
OPENSSL
_VERSION_TEXT,
SSLeay_version(SSLEAY_VERSION));
}
}
SSLeay_version(SSLEAY_VERSION));
}
}
@@
-212,5
+213,5
@@
int MAIN(int argc, char **argv)
if (dir) printf("%s\n",SSLeay_version(SSLEAY_DIR));
end:
apps_shutdown();
if (dir) printf("%s\n",SSLeay_version(SSLEAY_DIR));
end:
apps_shutdown();
- EXIT(ret);
+
OPENSSL_
EXIT(ret);
}
}