FreeBSD Bugzilla – Attachment 131722 Details for
Bug 175868
security/nessus-libnasl: nasl_crypto.c:25:10: fatal error: 'openssl/md2.h' file not found
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
patch-zzz-nomd2
patch-zzz-nomd2 (text/plain; charset=big5), 1.48 KB, created by
KT Sin
on 2013-05-21 11:23:12 UTC
(
hide
)
Description:
patch-zzz-nomd2
Filename:
MIME Type:
Creator:
KT Sin
Created:
2013-05-21 11:23:12 UTC
Size:
1.48 KB
patch
obsolete
>--- nasl/nasl_crypto.c.orig 2005-07-07 08:14:26.000000000 +0800 >+++ nasl/nasl_crypto.c 2013-05-21 18:09:58.000000000 +0800 >@@ -22,7 +22,9 @@ > */ > #include <includes.h> > #ifdef HAVE_SSL >+#ifdef HAVE_OPENSSL_MD2_H > #include <openssl/md2.h> >+#endif > #include <openssl/md4.h> > #include <openssl/md5.h> > #include <openssl/ripemd.h> >@@ -45,6 +47,7 @@ > > > /*-------------------[ Std. HASH ]-------------------------------------*/ >+#ifdef HAVE_OPENSSL_MD2_H > tree_cell * nasl_md2(lex_ctxt * lexic) > { > char * data = get_str_var_by_num(lexic, 0); >@@ -63,6 +66,7 @@ > retc->size = MD2_DIGEST_LENGTH; > return retc; > } >+#endif > > tree_cell * nasl_md4(lex_ctxt * lexic) > { >@@ -192,11 +196,12 @@ > return retc; > } > >- >+#ifdef HAVE_OPENSSL_MD2_H > tree_cell * nasl_hmac_md2(lex_ctxt * lexic) > { > return nasl_hmac(lexic, EVP_md2()); > } >+#endif > > > tree_cell * nasl_hmac_md5(lex_ctxt * lexic) >--- nasl/nasl_crypto.h.orig 2005-02-11 00:03:52.000000000 +0800 >+++ nasl/nasl_crypto.h 2013-05-21 18:11:23.000000000 +0800 >@@ -2,13 +2,17 @@ > #define NASL_CRYPTO_H > > #ifdef HAVE_SSL >+#ifdef HAVE_OPENSSL_MD2_H > tree_cell * nasl_md2(lex_ctxt *); >+#endif > tree_cell * nasl_md4(lex_ctxt *); > tree_cell * nasl_md5(lex_ctxt *); > tree_cell * nasl_sha(lex_ctxt *); > tree_cell * nasl_sha1(lex_ctxt *); > tree_cell * nasl_ripemd160(lex_ctxt *); >+#ifdef HAVE_OPENSSL_MD2_H > tree_cell * nasl_hmac_md2(lex_ctxt * ); >+#endif > tree_cell * nasl_hmac_md5(lex_ctxt * ); > tree_cell * nasl_hmac_sha(lex_ctxt *); > tree_cell * nasl_hmac_sha1(lex_ctxt * );
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 175868
: 131722