try to use handle using openssl instead of libdes better. based on patches from GOMBAS Gabor <gombasg@inf.elte.hu> and Brian May <bam@snoopy.apana.org.au>
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9681 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -90,6 +90,13 @@ typedef struct {
|
||||
|
||||
#define SK_DES 1 /* Matched Kerberos v5 KEYTYPE_DES */
|
||||
|
||||
#ifdef HAVE_OPENSSL_CRYPTO_H
|
||||
#include <openssl/des.h>
|
||||
#define des_new_random_key des_random_key
|
||||
#else
|
||||
#include <des.h>
|
||||
#endif
|
||||
|
||||
#include "enc-proto.h"
|
||||
|
||||
extern int encrypt_debug_mode;
|
||||
|
Reference in New Issue
Block a user