deps: upgrade openssl sources to 1.0.2c
authorShigeki Ohtsu <ohtsu@iij.ad.jp>
Fri, 12 Jun 2015 15:56:07 +0000 (00:56 +0900)
committerShigeki Ohtsu <ohtsu@iij.ad.jp>
Fri, 12 Jun 2015 17:24:36 +0000 (02:24 +0900)
This just replaces all sources of openssl-1.0.2c.tar.gz
into deps/openssl/openssl

PR-URL: https://github.com/nodejs/io.js/pull/1958
Reviewed-By: Fedor Indutny <fedor@indutny.com>
90 files changed:
deps/openssl/openssl/CHANGES
deps/openssl/openssl/Makefile
deps/openssl/openssl/Makefile.bak
deps/openssl/openssl/NEWS
deps/openssl/openssl/README
deps/openssl/openssl/apps/app_rand.c
deps/openssl/openssl/apps/s_client.c
deps/openssl/openssl/crypto/hmac/hmac.c
deps/openssl/openssl/crypto/hmac/hmac.h
deps/openssl/openssl/crypto/hmac/hmactest.c
deps/openssl/openssl/crypto/opensslconf.h
deps/openssl/openssl/crypto/opensslv.h
deps/openssl/openssl/crypto/perlasm/x86masm.pl
deps/openssl/openssl/include/openssl/aes.h [changed from file to symlink]
deps/openssl/openssl/include/openssl/asn1.h [changed from file to symlink]
deps/openssl/openssl/include/openssl/asn1_mac.h [changed from file to symlink]
deps/openssl/openssl/include/openssl/asn1t.h [changed from file to symlink]
deps/openssl/openssl/include/openssl/bio.h [changed from file to symlink]
deps/openssl/openssl/include/openssl/blowfish.h [changed from file to symlink]
deps/openssl/openssl/include/openssl/bn.h [changed from file to symlink]
deps/openssl/openssl/include/openssl/buffer.h [changed from file to symlink]
deps/openssl/openssl/include/openssl/camellia.h [changed from file to symlink]
deps/openssl/openssl/include/openssl/cast.h [changed from file to symlink]
deps/openssl/openssl/include/openssl/cmac.h [changed from file to symlink]
deps/openssl/openssl/include/openssl/cms.h [changed from file to symlink]
deps/openssl/openssl/include/openssl/comp.h [changed from file to symlink]
deps/openssl/openssl/include/openssl/conf.h [changed from file to symlink]
deps/openssl/openssl/include/openssl/conf_api.h [changed from file to symlink]
deps/openssl/openssl/include/openssl/crypto.h [changed from file to symlink]
deps/openssl/openssl/include/openssl/des.h [changed from file to symlink]
deps/openssl/openssl/include/openssl/des_old.h [changed from file to symlink]
deps/openssl/openssl/include/openssl/dh.h [changed from file to symlink]
deps/openssl/openssl/include/openssl/dsa.h [changed from file to symlink]
deps/openssl/openssl/include/openssl/dso.h [changed from file to symlink]
deps/openssl/openssl/include/openssl/dtls1.h [changed from file to symlink]
deps/openssl/openssl/include/openssl/e_os2.h [changed from file to symlink]
deps/openssl/openssl/include/openssl/ebcdic.h [changed from file to symlink]
deps/openssl/openssl/include/openssl/ec.h [changed from file to symlink]
deps/openssl/openssl/include/openssl/ecdh.h [changed from file to symlink]
deps/openssl/openssl/include/openssl/ecdsa.h [changed from file to symlink]
deps/openssl/openssl/include/openssl/engine.h [changed from file to symlink]
deps/openssl/openssl/include/openssl/err.h [changed from file to symlink]
deps/openssl/openssl/include/openssl/evp.h [changed from file to symlink]
deps/openssl/openssl/include/openssl/hmac.h [changed from file to symlink]
deps/openssl/openssl/include/openssl/idea.h [changed from file to symlink]
deps/openssl/openssl/include/openssl/krb5_asn.h [changed from file to symlink]
deps/openssl/openssl/include/openssl/kssl.h [changed from file to symlink]
deps/openssl/openssl/include/openssl/lhash.h [changed from file to symlink]
deps/openssl/openssl/include/openssl/md4.h [changed from file to symlink]
deps/openssl/openssl/include/openssl/md5.h [changed from file to symlink]
deps/openssl/openssl/include/openssl/mdc2.h [changed from file to symlink]
deps/openssl/openssl/include/openssl/modes.h [changed from file to symlink]
deps/openssl/openssl/include/openssl/obj_mac.h [changed from file to symlink]
deps/openssl/openssl/include/openssl/objects.h [changed from file to symlink]
deps/openssl/openssl/include/openssl/ocsp.h [changed from file to symlink]
deps/openssl/openssl/include/openssl/opensslconf.h [changed from file to symlink]
deps/openssl/openssl/include/openssl/opensslv.h [changed from file to symlink]
deps/openssl/openssl/include/openssl/ossl_typ.h [changed from file to symlink]
deps/openssl/openssl/include/openssl/pem.h [changed from file to symlink]
deps/openssl/openssl/include/openssl/pem2.h [changed from file to symlink]
deps/openssl/openssl/include/openssl/pkcs12.h [changed from file to symlink]
deps/openssl/openssl/include/openssl/pkcs7.h [changed from file to symlink]
deps/openssl/openssl/include/openssl/pqueue.h [changed from file to symlink]
deps/openssl/openssl/include/openssl/rand.h [changed from file to symlink]
deps/openssl/openssl/include/openssl/rc2.h [changed from file to symlink]
deps/openssl/openssl/include/openssl/rc4.h [changed from file to symlink]
deps/openssl/openssl/include/openssl/ripemd.h [changed from file to symlink]
deps/openssl/openssl/include/openssl/rsa.h [changed from file to symlink]
deps/openssl/openssl/include/openssl/safestack.h [changed from file to symlink]
deps/openssl/openssl/include/openssl/seed.h [changed from file to symlink]
deps/openssl/openssl/include/openssl/sha.h [changed from file to symlink]
deps/openssl/openssl/include/openssl/srp.h [changed from file to symlink]
deps/openssl/openssl/include/openssl/srtp.h [changed from file to symlink]
deps/openssl/openssl/include/openssl/ssl.h [changed from file to symlink]
deps/openssl/openssl/include/openssl/ssl2.h [changed from file to symlink]
deps/openssl/openssl/include/openssl/ssl23.h [changed from file to symlink]
deps/openssl/openssl/include/openssl/ssl3.h [changed from file to symlink]
deps/openssl/openssl/include/openssl/stack.h [changed from file to symlink]
deps/openssl/openssl/include/openssl/symhacks.h [changed from file to symlink]
deps/openssl/openssl/include/openssl/tls1.h [changed from file to symlink]
deps/openssl/openssl/include/openssl/ts.h [changed from file to symlink]
deps/openssl/openssl/include/openssl/txt_db.h [changed from file to symlink]
deps/openssl/openssl/include/openssl/ui.h [changed from file to symlink]
deps/openssl/openssl/include/openssl/ui_compat.h [changed from file to symlink]
deps/openssl/openssl/include/openssl/whrlpool.h [changed from file to symlink]
deps/openssl/openssl/include/openssl/x509.h [changed from file to symlink]
deps/openssl/openssl/include/openssl/x509_vfy.h [changed from file to symlink]
deps/openssl/openssl/include/openssl/x509v3.h [changed from file to symlink]
deps/openssl/openssl/openssl.spec
deps/openssl/openssl/ssl/t1_lib.c

index 84e0764..4cbf61d 100644 (file)
@@ -2,6 +2,12 @@
  OpenSSL CHANGES
  _______________
 
+ Changes between 1.0.2b and 1.0.2c [12 Jun 2015]
+
+  *) Fix HMAC ABI incompatibility. The previous version introduced an ABI
+     incompatibility in the handling of HMAC. The previous ABI has now been
+     restored.
+
  Changes between 1.0.2a and 1.0.2b [11 Jun 2015]
 
   *) Malformed ECParameters causes infinite loop
index 271bef1..56b43c6 100644 (file)
@@ -4,7 +4,7 @@
 ## Makefile for OpenSSL
 ##
 
-VERSION=1.0.2b
+VERSION=1.0.2c
 MAJOR=1
 MINOR=0.2
 SHLIB_VERSION_NUMBER=1.0.0
index 71c8d9f..8f9fd25 100644 (file)
@@ -4,7 +4,7 @@
 ## Makefile for OpenSSL
 ##
 
-VERSION=1.0.2b-dev
+VERSION=1.0.2c-dev
 MAJOR=1
 MINOR=0.2
 SHLIB_VERSION_NUMBER=1.0.0
index e614793..f3574cf 100644 (file)
@@ -5,6 +5,10 @@
   This file gives a brief overview of the major changes between each OpenSSL
   release. For more details please read the CHANGES file.
 
+  Major changes between OpenSSL 1.0.2b and OpenSSL 1.0.2c [12 Jun 2015]
+
+      o Fix HMAC ABI incompatibility
+
   Major changes between OpenSSL 1.0.2a and OpenSSL 1.0.2b [11 Jun 2015]
 
       o Malformed ECParameters causes infinite loop (CVE-2015-1788)
index 8de5c74..ae04431 100644 (file)
@@ -1,5 +1,5 @@
 
- OpenSSL 1.0.2b 11 Jun 2015
+ OpenSSL 1.0.2c 12 Jun 2015
 
  Copyright (c) 1998-2011 The OpenSSL Project
  Copyright (c) 1995-1998 Eric A. Young, Tim J. Hudson
index b6fe294..595fc78 100644 (file)
@@ -124,16 +124,10 @@ int app_RAND_load_file(const char *file, BIO *bio_e, int dont_warn)
     char buffer[200];
 
 #ifdef OPENSSL_SYS_WINDOWS
-    /*
-     * allocate 2 to dont_warn not to use RAND_screen() via
-     * -no_rand_screen option in s_client
-     */
-    if (dont_warn != 2) {
-      BIO_printf(bio_e, "Loading 'screen' into random state -");
-      BIO_flush(bio_e);
-      RAND_screen();
-      BIO_printf(bio_e, " done\n");
-    }
+    BIO_printf(bio_e, "Loading 'screen' into random state -");
+    BIO_flush(bio_e);
+    RAND_screen();
+    BIO_printf(bio_e, " done\n");
 #endif
 
     if (file == NULL)
index d89f2c5..e55f2c5 100644 (file)
@@ -180,13 +180,6 @@ typedef unsigned int u_int;
 # include <fcntl.h>
 #endif
 
-/* Use Windows API with STD_INPUT_HANDLE when checking for input?
-   Don't look at OPENSSL_SYS_MSDOS for this, since it is always defined if
-   OPENSSL_SYS_WINDOWS is defined */
-#if defined(OPENSSL_SYS_WINDOWS) && !defined(OPENSSL_SYS_WINCE) && defined(STD_INPUT_HANDLE)
-#define OPENSSL_USE_STD_INPUT_HANDLE
-#endif
-
 #undef PROG
 #define PROG    s_client_main
 
@@ -236,7 +229,6 @@ static BIO *bio_c_msg = NULL;
 static int c_quiet = 0;
 static int c_ign_eof = 0;
 static int c_brief = 0;
-static int c_no_rand_screen = 0;
 
 #ifndef OPENSSL_NO_PSK
 /* Default PSK identity and key */
@@ -449,10 +441,6 @@ static void sc_usage(void)
                " -keymatexport label   - Export keying material using label\n");
     BIO_printf(bio_err,
                " -keymatexportlen len  - Export len bytes of keying material (default 20)\n");
-#ifdef OPENSSL_SYS_WINDOWS
-    BIO_printf(bio_err,
-               " -no_rand_screen  - Do not use RAND_screen() to initialize random state\n");
-#endif
 }
 
 #ifndef OPENSSL_NO_TLSEXT
@@ -1132,10 +1120,6 @@ int MAIN(int argc, char **argv)
             keymatexportlen = atoi(*(++argv));
             if (keymatexportlen == 0)
                 goto bad;
-#ifdef OPENSSL_SYS_WINDOWS
-        } else if (strcmp(*argv, "-no_rand_screen") == 0) {
-          c_no_rand_screen = 1;
-#endif
         } else {
             BIO_printf(bio_err, "unknown option %s\n", *argv);
             badop = 1;
@@ -1241,7 +1225,7 @@ int MAIN(int argc, char **argv)
     if (!load_excert(&exc, bio_err))
         goto end;
 
-    if (!app_RAND_load_file(NULL, bio_err, ++c_no_rand_screen) && inrand == NULL
+    if (!app_RAND_load_file(NULL, bio_err, 1) && inrand == NULL
         && !RAND_status()) {
         BIO_printf(bio_err,
                    "warning, not much extra random data, consider using the -rand option\n");
@@ -1774,7 +1758,10 @@ int MAIN(int argc, char **argv)
                     tv.tv_usec = 0;
                     i = select(width, (void *)&readfds, (void *)&writefds,
                                NULL, &tv);
-#if defined(OPENSSL_USE_STD_INPUT_HANDLE)
+# if defined(OPENSSL_SYS_WINCE) || defined(OPENSSL_SYS_MSDOS)
+                    if (!i && (!_kbhit() || !read_tty))
+                        continue;
+# else
                     if (!i && (!((_kbhit())
                                  || (WAIT_OBJECT_0 ==
                                      WaitForSingleObject(GetStdHandle
@@ -1782,8 +1769,6 @@ int MAIN(int argc, char **argv)
                                                          0)))
                                || !read_tty))
                         continue;
-#else
-                    if(!i && (!_kbhit() || !read_tty) ) continue;
 # endif
                 } else
                     i = select(width, (void *)&readfds, (void *)&writefds,
@@ -1985,12 +1970,12 @@ int MAIN(int argc, char **argv)
             }
         }
 #if defined(OPENSSL_SYS_WINDOWS) || defined(OPENSSL_SYS_MSDOS)
-#if defined(OPENSSL_USE_STD_INPUT_HANDLE)
+# if defined(OPENSSL_SYS_WINCE) || defined(OPENSSL_SYS_MSDOS)
+        else if (_kbhit())
+# else
         else if ((_kbhit())
                  || (WAIT_OBJECT_0 ==
                      WaitForSingleObject(GetStdHandle(STD_INPUT_HANDLE), 0)))
-#else
-        else if (_kbhit())
 # endif
 #elif defined (OPENSSL_SYS_NETWARE)
         else if (_kbhit())
index 15a9a21..51a0a3e 100644 (file)
@@ -97,6 +97,9 @@ int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len,
             return FIPS_hmac_init_ex(ctx, key, len, md, NULL);
     }
 #endif
+    /* If we are changing MD then we must have a key */
+    if (md != NULL && md != ctx->md && (key == NULL || len < 0))
+        return 0;
 
     if (md != NULL) {
         reset = 1;
@@ -107,9 +110,6 @@ int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len,
         return 0;
     }
 
-    if (!ctx->key_init && key == NULL)
-        return 0;
-
     if (key != NULL) {
         reset = 1;
         j = EVP_MD_block_size(md);
@@ -131,7 +131,6 @@ int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len,
         if (ctx->key_length != HMAC_MAX_MD_CBLOCK)
             memset(&ctx->key[ctx->key_length], 0,
                    HMAC_MAX_MD_CBLOCK - ctx->key_length);
-        ctx->key_init = 1;
     }
 
     if (reset) {
@@ -169,7 +168,7 @@ int HMAC_Update(HMAC_CTX *ctx, const unsigned char *data, size_t len)
     if (FIPS_mode() && !ctx->i_ctx.engine)
         return FIPS_hmac_update(ctx, data, len);
 #endif
-    if (!ctx->key_init)
+    if (!ctx->md)
         return 0;
 
     return EVP_DigestUpdate(&ctx->md_ctx, data, len);
@@ -184,7 +183,7 @@ int HMAC_Final(HMAC_CTX *ctx, unsigned char *md, unsigned int *len)
         return FIPS_hmac_final(ctx, md, len);
 #endif
 
-    if (!ctx->key_init)
+    if (!ctx->md)
         goto err;
 
     if (!EVP_DigestFinal_ex(&ctx->md_ctx, buf, &i))
@@ -205,7 +204,6 @@ void HMAC_CTX_init(HMAC_CTX *ctx)
     EVP_MD_CTX_init(&ctx->i_ctx);
     EVP_MD_CTX_init(&ctx->o_ctx);
     EVP_MD_CTX_init(&ctx->md_ctx);
-    ctx->key_init = 0;
     ctx->md = NULL;
 }
 
@@ -217,11 +215,8 @@ int HMAC_CTX_copy(HMAC_CTX *dctx, HMAC_CTX *sctx)
         goto err;
     if (!EVP_MD_CTX_copy(&dctx->md_ctx, &sctx->md_ctx))
         goto err;
-    dctx->key_init = sctx->key_init;
-    if (sctx->key_init) {
-        memcpy(dctx->key, sctx->key, HMAC_MAX_MD_CBLOCK);
-        dctx->key_length = sctx->key_length;
-    }
+    memcpy(dctx->key, sctx->key, HMAC_MAX_MD_CBLOCK);
+    dctx->key_length = sctx->key_length;
     dctx->md = sctx->md;
     return 1;
  err:
index f8e9f5e..b8b55cd 100644 (file)
@@ -79,7 +79,6 @@ typedef struct hmac_ctx_st {
     EVP_MD_CTX o_ctx;
     unsigned int key_length;
     unsigned char key[HMAC_MAX_MD_CBLOCK];
-    int key_init;
 } HMAC_CTX;
 
 # define HMAC_size(e)    (EVP_MD_size((e)->md))
index 86b6c25..271d0eb 100644 (file)
@@ -233,7 +233,12 @@ test5:
         err++;
         goto test6;
     }
-    if (!HMAC_Init_ex(&ctx, NULL, 0, EVP_sha256(), NULL)) {
+    if (HMAC_Init_ex(&ctx, NULL, 0, EVP_sha256(), NULL)) {
+        printf("Should disallow changing MD without a new key (test 5)\n");
+        err++;
+        goto test6;
+    }
+    if (!HMAC_Init_ex(&ctx, test[4].key, test[4].key_len, EVP_sha256(), NULL)) {
         printf("Failed to reinitialise HMAC (test 5)\n");
         err++;
         goto test6;
index 76c99d4..3b917c6 100644 (file)
@@ -1 +1,253 @@
-#include "../../config/opensslconf.h"
+/* opensslconf.h */
+/* WARNING: Generated automatically from opensslconf.h.in by Configure. */
+
+#ifdef  __cplusplus
+extern "C" {
+#endif
+/* OpenSSL was configured with the following options: */
+#ifndef OPENSSL_DOING_MAKEDEPEND
+
+
+#ifndef OPENSSL_NO_EC_NISTP_64_GCC_128
+# define OPENSSL_NO_EC_NISTP_64_GCC_128
+#endif
+#ifndef OPENSSL_NO_GMP
+# define OPENSSL_NO_GMP
+#endif
+#ifndef OPENSSL_NO_JPAKE
+# define OPENSSL_NO_JPAKE
+#endif
+#ifndef OPENSSL_NO_KRB5
+# define OPENSSL_NO_KRB5
+#endif
+#ifndef OPENSSL_NO_LIBUNBOUND
+# define OPENSSL_NO_LIBUNBOUND
+#endif
+#ifndef OPENSSL_NO_MD2
+# define OPENSSL_NO_MD2
+#endif
+#ifndef OPENSSL_NO_RC5
+# define OPENSSL_NO_RC5
+#endif
+#ifndef OPENSSL_NO_RFC3779
+# define OPENSSL_NO_RFC3779
+#endif
+#ifndef OPENSSL_NO_SCTP
+# define OPENSSL_NO_SCTP
+#endif
+#ifndef OPENSSL_NO_SSL_TRACE
+# define OPENSSL_NO_SSL_TRACE
+#endif
+#ifndef OPENSSL_NO_STORE
+# define OPENSSL_NO_STORE
+#endif
+#ifndef OPENSSL_NO_UNIT_TEST
+# define OPENSSL_NO_UNIT_TEST
+#endif
+
+#endif /* OPENSSL_DOING_MAKEDEPEND */
+
+#ifndef OPENSSL_NO_DYNAMIC_ENGINE
+# define OPENSSL_NO_DYNAMIC_ENGINE
+#endif
+
+/* The OPENSSL_NO_* macros are also defined as NO_* if the application
+   asks for it.  This is a transient feature that is provided for those
+   who haven't had the time to do the appropriate changes in their
+   applications.  */
+#ifdef OPENSSL_ALGORITHM_DEFINES
+# if defined(OPENSSL_NO_EC_NISTP_64_GCC_128) && !defined(NO_EC_NISTP_64_GCC_128)
+#  define NO_EC_NISTP_64_GCC_128
+# endif
+# if defined(OPENSSL_NO_GMP) && !defined(NO_GMP)
+#  define NO_GMP
+# endif
+# if defined(OPENSSL_NO_JPAKE) && !defined(NO_JPAKE)
+#  define NO_JPAKE
+# endif
+# if defined(OPENSSL_NO_KRB5) && !defined(NO_KRB5)
+#  define NO_KRB5
+# endif
+# if defined(OPENSSL_NO_LIBUNBOUND) && !defined(NO_LIBUNBOUND)
+#  define NO_LIBUNBOUND
+# endif
+# if defined(OPENSSL_NO_MD2) && !defined(NO_MD2)
+#  define NO_MD2
+# endif
+# if defined(OPENSSL_NO_RC5) && !defined(NO_RC5)
+#  define NO_RC5
+# endif
+# if defined(OPENSSL_NO_RFC3779) && !defined(NO_RFC3779)
+#  define NO_RFC3779
+# endif
+# if defined(OPENSSL_NO_SCTP) && !defined(NO_SCTP)
+#  define NO_SCTP
+# endif
+# if defined(OPENSSL_NO_SSL_TRACE) && !defined(NO_SSL_TRACE)
+#  define NO_SSL_TRACE
+# endif
+# if defined(OPENSSL_NO_STORE) && !defined(NO_STORE)
+#  define NO_STORE
+# endif
+# if defined(OPENSSL_NO_UNIT_TEST) && !defined(NO_UNIT_TEST)
+#  define NO_UNIT_TEST
+# endif
+#endif
+
+/* crypto/opensslconf.h.in */
+
+/* Generate 80386 code? */
+#undef I386_ONLY
+
+#if !(defined(VMS) || defined(__VMS)) /* VMS uses logical names instead */
+#if defined(HEADER_CRYPTLIB_H) && !defined(OPENSSLDIR)
+#define ENGINESDIR "/usr/local/ssl/lib/engines"
+#define OPENSSLDIR "/usr/local/ssl"
+#endif
+#endif
+
+#undef OPENSSL_UNISTD
+#define OPENSSL_UNISTD <unistd.h>
+
+#undef OPENSSL_EXPORT_VAR_AS_FUNCTION
+
+#if defined(HEADER_IDEA_H) && !defined(IDEA_INT)
+#define IDEA_INT unsigned int
+#endif
+
+#if defined(HEADER_MD2_H) && !defined(MD2_INT)
+#define MD2_INT unsigned int
+#endif
+
+#if defined(HEADER_RC2_H) && !defined(RC2_INT)
+/* I need to put in a mod for the alpha - eay */
+#define RC2_INT unsigned int
+#endif
+
+#if defined(HEADER_RC4_H)
+#if !defined(RC4_INT)
+/* using int types make the structure larger but make the code faster
+ * on most boxes I have tested - up to %20 faster. */
+/*
+ * I don't know what does "most" mean, but declaring "int" is a must on:
+ * - Intel P6 because partial register stalls are very expensive;
+ * - elder Alpha because it lacks byte load/store instructions;
+ */
+#define RC4_INT unsigned int
+#endif
+#if !defined(RC4_CHUNK)
+/*
+ * This enables code handling data aligned at natural CPU word
+ * boundary. See crypto/rc4/rc4_enc.c for further details.
+ */
+#undef RC4_CHUNK
+#endif
+#endif
+
+#if (defined(HEADER_NEW_DES_H) || defined(HEADER_DES_H)) && !defined(DES_LONG)
+/* If this is set to 'unsigned int' on a DEC Alpha, this gives about a
+ * %20 speed up (longs are 8 bytes, int's are 4). */
+#ifndef DES_LONG
+#define DES_LONG unsigned long
+#endif
+#endif
+
+#if defined(HEADER_BN_H) && !defined(CONFIG_HEADER_BN_H)
+#define CONFIG_HEADER_BN_H
+#undef BN_LLONG
+
+/* Should we define BN_DIV2W here? */
+
+/* Only one for the following should be defined */
+#undef SIXTY_FOUR_BIT_LONG
+#undef SIXTY_FOUR_BIT
+#define THIRTY_TWO_BIT
+#endif
+
+#if defined(HEADER_RC4_LOCL_H) && !defined(CONFIG_HEADER_RC4_LOCL_H)
+#define CONFIG_HEADER_RC4_LOCL_H
+/* if this is defined data[i] is used instead of *data, this is a %20
+ * speedup on x86 */
+#undef RC4_INDEX
+#endif
+
+#if defined(HEADER_BF_LOCL_H) && !defined(CONFIG_HEADER_BF_LOCL_H)
+#define CONFIG_HEADER_BF_LOCL_H
+#undef BF_PTR
+#endif /* HEADER_BF_LOCL_H */
+
+#if defined(HEADER_DES_LOCL_H) && !defined(CONFIG_HEADER_DES_LOCL_H)
+#define CONFIG_HEADER_DES_LOCL_H
+#ifndef DES_DEFAULT_OPTIONS
+/* the following is tweaked from a config script, that is why it is a
+ * protected undef/define */
+#ifndef DES_PTR
+#undef DES_PTR
+#endif
+
+/* This helps C compiler generate the correct code for multiple functional
+ * units.  It reduces register dependancies at the expense of 2 more
+ * registers */
+#ifndef DES_RISC1
+#undef DES_RISC1
+#endif
+
+#ifndef DES_RISC2
+#undef DES_RISC2
+#endif
+
+#if defined(DES_RISC1) && defined(DES_RISC2)
+YOU SHOULD NOT HAVE BOTH DES_RISC1 AND DES_RISC2 DEFINED!!!!!
+#endif
+
+/* Unroll the inner loop, this sometimes helps, sometimes hinders.
+ * Very mucy CPU dependant */
+#ifndef DES_UNROLL
+#undef DES_UNROLL
+#endif
+
+/* These default values were supplied by
+ * Peter Gutman <pgut001@cs.auckland.ac.nz>
+ * They are only used if nothing else has been defined */
+#if !defined(DES_PTR) && !defined(DES_RISC1) && !defined(DES_RISC2) && !defined(DES_UNROLL)
+/* Special defines which change the way the code is built depending on the
+   CPU and OS.  For SGI machines you can use _MIPS_SZLONG (32 or 64) to find
+   even newer MIPS CPU's, but at the moment one size fits all for
+   optimization options.  Older Sparc's work better with only UNROLL, but
+   there's no way to tell at compile time what it is you're running on */
+
+#if defined( sun )             /* Newer Sparc's */
+#  define DES_PTR
+#  define DES_RISC1
+#  define DES_UNROLL
+#elif defined( __ultrix )      /* Older MIPS */
+#  define DES_PTR
+#  define DES_RISC2
+#  define DES_UNROLL
+#elif defined( __osf1__ )      /* Alpha */
+#  define DES_PTR
+#  define DES_RISC2
+#elif defined ( _AIX )         /* RS6000 */
+  /* Unknown */
+#elif defined( __hpux )                /* HP-PA */
+  /* Unknown */
+#elif defined( __aux )         /* 68K */
+  /* Unknown */
+#elif defined( __dgux )                /* 88K (but P6 in latest boxes) */
+#  define DES_UNROLL
+#elif defined( __sgi )         /* Newer MIPS */
+#  define DES_PTR
+#  define DES_RISC2
+#  define DES_UNROLL
+#elif defined(i386) || defined(__i386__)       /* x86 boxes, should be gcc */
+#  define DES_PTR
+#  define DES_RISC1
+#  define DES_UNROLL
+#endif /* Systems-specific speed defines */
+#endif
+
+#endif /* DES_DEFAULT_OPTIONS */
+#endif /* HEADER_DES_LOCL_H */
+#ifdef  __cplusplus
+}
+#endif
index e6f991c..7cc19dc 100644 (file)
@@ -30,11 +30,11 @@ extern "C" {
  * (Prior to 0.9.5a beta1, a different scheme was used: MMNNFFRBB for
  *  major minor fix final patch/beta)
  */
-# define OPENSSL_VERSION_NUMBER  0x1000202fL
+# define OPENSSL_VERSION_NUMBER  0x1000203fL
 # ifdef OPENSSL_FIPS
-#  define OPENSSL_VERSION_TEXT    "OpenSSL 1.0.2b-fips 11 Jun 2015"
+#  define OPENSSL_VERSION_TEXT    "OpenSSL 1.0.2c-fips 12 Jun 2015"
 # else
-#  define OPENSSL_VERSION_TEXT    "OpenSSL 1.0.2b 11 Jun 2015"
+#  define OPENSSL_VERSION_TEXT    "OpenSSL 1.0.2c 12 Jun 2015"
 # endif
 # define OPENSSL_VERSION_PTEXT   " part of " OPENSSL_VERSION_TEXT
 
index b7f49d1..1741342 100644 (file)
@@ -18,10 +18,10 @@ sub ::generic
 
     if ($opcode =~ /lea/ && @arg[1] =~ s/.*PTR\s+(\(.*\))$/OFFSET $1/) # no []
     {  $opcode="mov";  }
-    elsif ($opcode !~ /mov[dq]$/)
+    elsif ($opcode !~ /movq/)
     {  # fix xmm references
-       $arg[0] =~ s/\b[A-Z]+WORD\s+PTR/XMMWORD PTR/i if ($arg[-1]=~/\bxmm[0-7]\b/i);
-       $arg[-1] =~ s/\b[A-Z]+WORD\s+PTR/XMMWORD PTR/i if ($arg[0]=~/\bxmm[0-7]\b/i);
+       $arg[0] =~ s/\b[A-Z]+WORD\s+PTR/XMMWORD PTR/i if ($arg[1]=~/\bxmm[0-7]\b/i);
+       $arg[1] =~ s/\b[A-Z]+WORD\s+PTR/XMMWORD PTR/i if ($arg[0]=~/\bxmm[0-7]\b/i);
     }
 
     &::emit($opcode,@arg);
@@ -82,7 +82,7 @@ TITLE $_[0].asm
 IF \@Version LT 800
 ECHO MASM version 8.00 or later is strongly recommended.
 ENDIF
-.686
+.486
 .MODEL FLAT
 OPTION DOTNAME
 IF \@Version LT 800
@@ -160,13 +160,13 @@ sub ::public_label
 {   push(@out,"PUBLIC\t".&::LABEL($_[0],$nmdecor.$_[0])."\n");   }
 
 sub ::data_byte
-{   push(@out,("DB\t").join(',',splice(@_,0,16))."\n") while(@_);      }
+{   push(@out,("DB\t").join(',',@_)."\n");     }
 
 sub ::data_short
-{   push(@out,("DW\t").join(',',splice(@_,0,8))."\n") while(@_);       }
+{   push(@out,("DW\t").join(',',@_)."\n");     }
 
 sub ::data_word
-{   push(@out,("DD\t").join(',',splice(@_,0,4))."\n") while(@_);       }
+{   push(@out,("DD\t").join(',',@_)."\n");     }
 
 sub ::align
 {   push(@out,"ALIGN\t$_[0]\n");       }
deleted file mode 100644 (file)
index f646d41f060493a023b373e1712169ed88412497..0000000000000000000000000000000000000000
+++ /dev/null
@@ -1 +0,0 @@
-#include "../../crypto/aes/aes.h"
new file mode 120000 (symlink)
index 0000000000000000000000000000000000000000..f555c13ed7b49f33714f252403e1dd5e79139c98
--- /dev/null
@@ -0,0 +1 @@
+../../crypto/aes/aes.h
\ No newline at end of file
deleted file mode 100644 (file)
index 5432ed8dc83730d11bfc6d6308ccd16f0787f7a6..0000000000000000000000000000000000000000
+++ /dev/null
@@ -1 +0,0 @@
-#include "../../crypto/asn1/asn1.h"
new file mode 120000 (symlink)
index 0000000000000000000000000000000000000000..dd514954a1155df971354c1875bfcd0ef1a2476e
--- /dev/null
@@ -0,0 +1 @@
+../../crypto/asn1/asn1.h
\ No newline at end of file
deleted file mode 100644 (file)
index 214787c47746468ecc35e081bb56d323c4b70de6..0000000000000000000000000000000000000000
+++ /dev/null
@@ -1 +0,0 @@
-#include "../../crypto/asn1/asn1_mac.h"
new file mode 120000 (symlink)
index 0000000000000000000000000000000000000000..97781d99331ba3d4b18a805406d141fec328aec0
--- /dev/null
@@ -0,0 +1 @@
+../../crypto/asn1/asn1_mac.h
\ No newline at end of file
deleted file mode 100644 (file)
index 4de87a9c610d265c87b3cab4405ed67e770c64bb..0000000000000000000000000000000000000000
+++ /dev/null
@@ -1 +0,0 @@
-#include "../../crypto/asn1/asn1t.h"
new file mode 120000 (symlink)
index 0000000000000000000000000000000000000000..31c87c38853dace5d58cfa70edf3380dd8cb04c9
--- /dev/null
@@ -0,0 +1 @@
+../../crypto/asn1/asn1t.h
\ No newline at end of file
deleted file mode 100644 (file)
index 34f8a2df07eec0133b5792086afbe0bd72ec9137..0000000000000000000000000000000000000000
+++ /dev/null
@@ -1 +0,0 @@
-#include "../../crypto/bio/bio.h"
new file mode 120000 (symlink)
index 0000000000000000000000000000000000000000..c598b6f73a74c1a35d0f417013a40ac19bffa4bb
--- /dev/null
@@ -0,0 +1 @@
+../../crypto/bio/bio.h
\ No newline at end of file
deleted file mode 100644 (file)
index 8d515feb0588e5030a3b2da99503e848ca39fe3d..0000000000000000000000000000000000000000
+++ /dev/null
@@ -1 +0,0 @@
-#include "../../crypto/bf/blowfish.h"
new file mode 120000 (symlink)
index 0000000000000000000000000000000000000000..88bf92234233993480dbfcbaa462a699699994b4
--- /dev/null
@@ -0,0 +1 @@
+../../crypto/bf/blowfish.h
\ No newline at end of file
deleted file mode 100644 (file)
index f47d65a93f49351ba4eb32ddef5d1e0767d2c4b3..0000000000000000000000000000000000000000
+++ /dev/null
@@ -1 +0,0 @@
-#include "../../crypto/bn/bn.h"
new file mode 120000 (symlink)
index 0000000000000000000000000000000000000000..5c251c135af4d4be0af65d23765917514196ff8f
--- /dev/null
@@ -0,0 +1 @@
+../../crypto/bn/bn.h
\ No newline at end of file
deleted file mode 100644 (file)
index 1d2c2a2ec1b266ad8cacd302a78e476c3be9c59c..0000000000000000000000000000000000000000
+++ /dev/null
@@ -1 +0,0 @@
-#include "../../crypto/buffer/buffer.h"
new file mode 120000 (symlink)
index 0000000000000000000000000000000000000000..76ea7114a2b457395929a38842de0bf901d8aaef
--- /dev/null
@@ -0,0 +1 @@
+../../crypto/buffer/buffer.h
\ No newline at end of file
deleted file mode 100644 (file)
index 5a0a141eed57834310666678ea5422d7f9defa3f..0000000000000000000000000000000000000000
+++ /dev/null
@@ -1 +0,0 @@
-#include "../../crypto/camellia/camellia.h"
new file mode 120000 (symlink)
index 0000000000000000000000000000000000000000..ad10f9792b6bb2a20c770dc4bedc0bb85104cf95
--- /dev/null
@@ -0,0 +1 @@
+../../crypto/camellia/camellia.h
\ No newline at end of file
deleted file mode 100644 (file)
index 12cf92c4a9b61408a16d044422184143516074b4..0000000000000000000000000000000000000000
+++ /dev/null
@@ -1 +0,0 @@
-#include "../../crypto/cast/cast.h"
new file mode 120000 (symlink)
index 0000000000000000000000000000000000000000..b775ab04b8144ad4e7f164fa3be86ecfca8485d4
--- /dev/null
@@ -0,0 +1 @@
+../../crypto/cast/cast.h
\ No newline at end of file
deleted file mode 100644 (file)
index a7579aeabdd0f70e11fa71745d40b6bda4411db4..0000000000000000000000000000000000000000
+++ /dev/null
@@ -1 +0,0 @@
-#include "../../crypto/cmac/cmac.h"
new file mode 120000 (symlink)
index 0000000000000000000000000000000000000000..bfb70c468304ae0fe099ba288b5b272ef480002a
--- /dev/null
@@ -0,0 +1 @@
+../../crypto/cmac/cmac.h
\ No newline at end of file
deleted file mode 100644 (file)
index 8687c7fe467ff94bfe0d653a69f095289789d71f..0000000000000000000000000000000000000000
+++ /dev/null
@@ -1 +0,0 @@
-#include "../../crypto/cms/cms.h"
new file mode 120000 (symlink)
index 0000000000000000000000000000000000000000..0f651adde2c0e28ef537a75318ce9a309f7371f3
--- /dev/null
@@ -0,0 +1 @@
+../../crypto/cms/cms.h
\ No newline at end of file
deleted file mode 100644 (file)
index d14e36cc36b816934d86be97bf5d3b5e903e800c..0000000000000000000000000000000000000000
+++ /dev/null
@@ -1 +0,0 @@
-#include "../../crypto/comp/comp.h"
new file mode 120000 (symlink)
index 0000000000000000000000000000000000000000..712c9d4ae58c948eca38cb7f1497341d4a60cd7d
--- /dev/null
@@ -0,0 +1 @@
+../../crypto/comp/comp.h
\ No newline at end of file
deleted file mode 100644 (file)
index 3882c82f8d065d78c7d81a23d6d6bd1ddfe79a96..0000000000000000000000000000000000000000
+++ /dev/null
@@ -1 +0,0 @@
-#include "../../crypto/conf/conf.h"
new file mode 120000 (symlink)
index 0000000000000000000000000000000000000000..44156b189b096aa25f997ceae15f25320fb1e205
--- /dev/null
@@ -0,0 +1 @@
+../../crypto/conf/conf.h
\ No newline at end of file
deleted file mode 100644 (file)
index 03933578574da9858219c1d892dff86273b5de6e..0000000000000000000000000000000000000000
+++ /dev/null
@@ -1 +0,0 @@
-#include "../../crypto/conf/conf_api.h"
new file mode 120000 (symlink)
index 0000000000000000000000000000000000000000..26b42198a86af6c107e78d14625dbb5e5a30dac9
--- /dev/null
@@ -0,0 +1 @@
+../../crypto/conf/conf_api.h
\ No newline at end of file
deleted file mode 100644 (file)
index 7e3d91e42f06da0f1631a2c033d30c46258b525f..0000000000000000000000000000000000000000
+++ /dev/null
@@ -1 +0,0 @@
-#include "../../crypto/crypto.h"
new file mode 120000 (symlink)
index 0000000000000000000000000000000000000000..2f3f63cb016cd96683ccad7d0d326151e0c158e0
--- /dev/null
@@ -0,0 +1 @@
+../../crypto/crypto.h
\ No newline at end of file
deleted file mode 100644 (file)
index 1d6631e9b6a2c8916776e8e7ab7c6b9812a2a0b8..0000000000000000000000000000000000000000
+++ /dev/null
@@ -1 +0,0 @@
-#include "../../crypto/des/des.h"
new file mode 120000 (symlink)
index 0000000000000000000000000000000000000000..5eb7c88b38a1ad95240277669d2c6867c2036be5
--- /dev/null
@@ -0,0 +1 @@
+../../crypto/des/des.h
\ No newline at end of file
deleted file mode 100644 (file)
index e5828733cca68e9d5b994b0ab74b768af3634725..0000000000000000000000000000000000000000
+++ /dev/null
@@ -1 +0,0 @@
-#include "../../crypto/des/des_old.h"
new file mode 120000 (symlink)
index 0000000000000000000000000000000000000000..970989880523ec83d5ab91bc0fd78bc2206f4fb1
--- /dev/null
@@ -0,0 +1 @@
+../../crypto/des/des_old.h
\ No newline at end of file
deleted file mode 100644 (file)
index f70a767ac90de1f0c0d129748e3cf34b77d11b9e..0000000000000000000000000000000000000000
+++ /dev/null
@@ -1 +0,0 @@
-#include "../../crypto/dh/dh.h"
new file mode 120000 (symlink)
index 0000000000000000000000000000000000000000..c0eacb5eb352f9b3696cf4189cd4c6d044439d87
--- /dev/null
@@ -0,0 +1 @@
+../../crypto/dh/dh.h
\ No newline at end of file
deleted file mode 100644 (file)
index 0365acfe665be67a083ebefbc171b9d43a2fcf68..0000000000000000000000000000000000000000
+++ /dev/null
@@ -1 +0,0 @@
-#include "../../crypto/dsa/dsa.h"
new file mode 120000 (symlink)
index 0000000000000000000000000000000000000000..ad4695f9b6ae867743c52ae389a5a8938f456ac2
--- /dev/null
@@ -0,0 +1 @@
+../../crypto/dsa/dsa.h
\ No newline at end of file
deleted file mode 100644 (file)
index f3c8de23065971fed83f3a5928cfdf9ffebb666d..0000000000000000000000000000000000000000
+++ /dev/null
@@ -1 +0,0 @@
-#include "../../crypto/dso/dso.h"
new file mode 120000 (symlink)
index 0000000000000000000000000000000000000000..b1f215dafc8997c98f96fbab5d9ec18c6f53c2b9
--- /dev/null
@@ -0,0 +1 @@
+../../crypto/dso/dso.h
\ No newline at end of file
deleted file mode 100644 (file)
index ac8ab57453cb53fa8310db38b3f4d7d8ed3dd99b..0000000000000000000000000000000000000000
+++ /dev/null
@@ -1 +0,0 @@
-#include "../../ssl/dtls1.h"
new file mode 120000 (symlink)
index 0000000000000000000000000000000000000000..95aef9913ab0f60ded514babbd92499bd7bf360b
--- /dev/null
@@ -0,0 +1 @@
+../../ssl/dtls1.h
\ No newline at end of file
deleted file mode 100644 (file)
index ab3f1ee44f4ec2ccfffcfa0eb1f6259b2d2d30ef..0000000000000000000000000000000000000000
+++ /dev/null
@@ -1 +0,0 @@
-#include "../../e_os2.h"
new file mode 120000 (symlink)
index 0000000000000000000000000000000000000000..0e8c03992489f9e177682a349949577e93eacca7
--- /dev/null
@@ -0,0 +1 @@
+../../e_os2.h
\ No newline at end of file
deleted file mode 100644 (file)
index 6dedc7051d22620551e698ffcae1d09d544628a6..0000000000000000000000000000000000000000
+++ /dev/null
@@ -1 +0,0 @@
-#include "../../crypto/ebcdic.h"
new file mode 120000 (symlink)
index 0000000000000000000000000000000000000000..a7ee60e0aeef49d5f0563691a024450a993ba46d
--- /dev/null
@@ -0,0 +1 @@
+../../crypto/ebcdic.h
\ No newline at end of file
deleted file mode 100644 (file)
index 7d2061452608a79fc04dbeabb4000f9282d29349..0000000000000000000000000000000000000000
+++ /dev/null
@@ -1 +0,0 @@
-#include "../../crypto/ec/ec.h"
new file mode 120000 (symlink)
index 0000000000000000000000000000000000000000..245497eda7c06501736a1f10e8e32623dd90137b
--- /dev/null
@@ -0,0 +1 @@
+../../crypto/ec/ec.h
\ No newline at end of file
deleted file mode 100644 (file)
index ad6e3dc9c7e13315bb4ca3c76f23803b33de8651..0000000000000000000000000000000000000000
+++ /dev/null
@@ -1 +0,0 @@
-#include "../../crypto/ecdh/ecdh.h"
new file mode 120000 (symlink)
index 0000000000000000000000000000000000000000..3fd1c3ba39fd13211475f33fd282e0fa1d7d2889
--- /dev/null
@@ -0,0 +1 @@
+../../crypto/ecdh/ecdh.h
\ No newline at end of file
deleted file mode 100644 (file)
index da451230932befe5aef437c1d3de754e9ce06ddd..0000000000000000000000000000000000000000
+++ /dev/null
@@ -1 +0,0 @@
-#include "../../crypto/ecdsa/ecdsa.h"
new file mode 120000 (symlink)
index 0000000000000000000000000000000000000000..e48acc669ce0c1afa81ac9db464e9a06968ae452
--- /dev/null
@@ -0,0 +1 @@
+../../crypto/ecdsa/ecdsa.h
\ No newline at end of file
deleted file mode 100644 (file)
index 2dceaac6c785e995df97132a34ed05adaacb8358..0000000000000000000000000000000000000000
+++ /dev/null
@@ -1 +0,0 @@
-#include "../../crypto/engine/engine.h"
new file mode 120000 (symlink)
index 0000000000000000000000000000000000000000..a02073e32aad74e4b1f478423a90bdba72677770
--- /dev/null
@@ -0,0 +1 @@
+../../crypto/engine/engine.h
\ No newline at end of file
deleted file mode 100644 (file)
index caf89a936cd42655250c31f6eba8991b175135db..0000000000000000000000000000000000000000
+++ /dev/null
@@ -1 +0,0 @@
-#include "../../crypto/err/err.h"
new file mode 120000 (symlink)
index 0000000000000000000000000000000000000000..20f65bd9c8c7cde51a9a72c2ea3de2e5cb5f21d8
--- /dev/null
@@ -0,0 +1 @@
+../../crypto/err/err.h
\ No newline at end of file
deleted file mode 100644 (file)
index dd7bcda8f3c8c45f37ecb215aa80df685c20966b..0000000000000000000000000000000000000000
+++ /dev/null
@@ -1 +0,0 @@
-#include "../../crypto/evp/evp.h"
new file mode 120000 (symlink)
index 0000000000000000000000000000000000000000..7e3a904ae95a7c74d74b089346f8ce28b08b0395
--- /dev/null
@@ -0,0 +1 @@
+../../crypto/evp/evp.h
\ No newline at end of file
deleted file mode 100644 (file)
index 202128bf52caeba38c8a96ccbba56c441113e6eb..0000000000000000000000000000000000000000
+++ /dev/null
@@ -1 +0,0 @@
-#include "../../crypto/hmac/hmac.h"
new file mode 120000 (symlink)
index 0000000000000000000000000000000000000000..de19ba7ede0c2236042c9623b2664597010cffd3
--- /dev/null
@@ -0,0 +1 @@
+../../crypto/hmac/hmac.h
\ No newline at end of file
deleted file mode 100644 (file)
index bdf697d6805d850fd7982e8714666f5c151dc904..0000000000000000000000000000000000000000
+++ /dev/null
@@ -1 +0,0 @@
-#include "../../crypto/idea/idea.h"
new file mode 120000 (symlink)
index 0000000000000000000000000000000000000000..724fa3458113682401e25090b88e572f959a9fcf
--- /dev/null
@@ -0,0 +1 @@
+../../crypto/idea/idea.h
\ No newline at end of file
deleted file mode 100644 (file)
index 0d3feea281f1da57e7ea498d4e60314a2e5976c4..0000000000000000000000000000000000000000
+++ /dev/null
@@ -1 +0,0 @@
-#include "../../crypto/krb5/krb5_asn.h"
new file mode 120000 (symlink)
index 0000000000000000000000000000000000000000..1172e522e4feb93aa313f9225c90a38d221e946f
--- /dev/null
@@ -0,0 +1 @@
+../../crypto/krb5/krb5_asn.h
\ No newline at end of file
deleted file mode 100644 (file)
index 719634aad90ff9510c859f72931634d67b7f5175..0000000000000000000000000000000000000000
+++ /dev/null
@@ -1 +0,0 @@
-#include "../../ssl/kssl.h"
new file mode 120000 (symlink)
index 0000000000000000000000000000000000000000..2e5c2cd4dcbb05119ea9540c087d396d4057e940
--- /dev/null
@@ -0,0 +1 @@
+../../ssl/kssl.h
\ No newline at end of file
deleted file mode 100644 (file)
index 2d3db87cd5de9a45c6b6d38e6a35f941724bf9af..0000000000000000000000000000000000000000
+++ /dev/null
@@ -1 +0,0 @@
-#include "../../crypto/lhash/lhash.h"
new file mode 120000 (symlink)
index 0000000000000000000000000000000000000000..56eb09918c79c60f0d8e2dab555c07473e3cb76f
--- /dev/null
@@ -0,0 +1 @@
+../../crypto/lhash/lhash.h
\ No newline at end of file
deleted file mode 100644 (file)
index 611806e5eafb1dff127a79586b610f160cb635cc..0000000000000000000000000000000000000000
+++ /dev/null
@@ -1 +0,0 @@
-#include "../../crypto/md4/md4.h"
new file mode 120000 (symlink)
index 0000000000000000000000000000000000000000..4ff863e7fc9292ad115ad0f87380ed1bf4d3ac8f
--- /dev/null
@@ -0,0 +1 @@
+../../crypto/md4/md4.h
\ No newline at end of file
deleted file mode 100644 (file)
index aa8cd0bf863be79f43cfc2a948af1e68bdc4505e..0000000000000000000000000000000000000000
+++ /dev/null
@@ -1 +0,0 @@
-#include "../../crypto/md5/md5.h"
new file mode 120000 (symlink)
index 0000000000000000000000000000000000000000..26fa47eb5ce7cb703abf4376d0b12ec08ed9b907
--- /dev/null
@@ -0,0 +1 @@
+../../crypto/md5/md5.h
\ No newline at end of file
deleted file mode 100644 (file)
index ac284a179a04842473c547d8f403155029a48cbd..0000000000000000000000000000000000000000
+++ /dev/null
@@ -1 +0,0 @@
-#include "../../crypto/mdc2/mdc2.h"
new file mode 120000 (symlink)
index 0000000000000000000000000000000000000000..0bc32f121cb32d5af6818a7592c50de53a9cca48
--- /dev/null
@@ -0,0 +1 @@
+../../crypto/mdc2/mdc2.h
\ No newline at end of file
deleted file mode 100644 (file)
index f57fcfea8001343b80cde524097c7fc86854f5b9..0000000000000000000000000000000000000000
+++ /dev/null
@@ -1 +0,0 @@
-#include "../../crypto/modes/modes.h"
new file mode 120000 (symlink)
index 0000000000000000000000000000000000000000..ccc172827f118b0a008c408bf78bde3663bb39a0
--- /dev/null
@@ -0,0 +1 @@
+../../crypto/modes/modes.h
\ No newline at end of file
deleted file mode 100644 (file)
index 3890fa9bc419b9ab177eab21d351092885bd4d09..0000000000000000000000000000000000000000
+++ /dev/null
@@ -1 +0,0 @@
-#include "../../crypto/objects/obj_mac.h"
new file mode 120000 (symlink)
index 0000000000000000000000000000000000000000..0f443c828bc528e0ab782034a0458d66c54cbbb3
--- /dev/null
@@ -0,0 +1 @@
+../../crypto/objects/obj_mac.h
\ No newline at end of file
deleted file mode 100644 (file)
index 5365a044bdc0ca07a5fe3a0375449c95f491bf31..0000000000000000000000000000000000000000
+++ /dev/null
@@ -1 +0,0 @@
-#include "../../crypto/objects/objects.h"
new file mode 120000 (symlink)
index 0000000000000000000000000000000000000000..7bd145ca0864ba22fe8eae4f82357de0ebd1e8ee
--- /dev/null
@@ -0,0 +1 @@
+../../crypto/objects/objects.h
\ No newline at end of file
deleted file mode 100644 (file)
index 50e2885cedb5cb544ee6fafd8c5ee32805122991..0000000000000000000000000000000000000000
+++ /dev/null
@@ -1 +0,0 @@
-#include "../../crypto/ocsp/ocsp.h"
new file mode 120000 (symlink)
index 0000000000000000000000000000000000000000..08288c84a65a1f00d68eb4b1df7612bf0822a4e5
--- /dev/null
@@ -0,0 +1 @@
+../../crypto/ocsp/ocsp.h
\ No newline at end of file
deleted file mode 100644 (file)
index 221be629b722480f9c647bb88d56c4bfb2e3c374..0000000000000000000000000000000000000000
+++ /dev/null
@@ -1 +0,0 @@
-#include "../../crypto/opensslconf.h"
new file mode 120000 (symlink)
index 0000000000000000000000000000000000000000..25d2bea96c84fa629eee8742aa6a45e911d07f8d
--- /dev/null
@@ -0,0 +1 @@
+../../crypto/opensslconf.h
\ No newline at end of file
deleted file mode 100644 (file)
index c39a0c3882d3bbf8a2950918e2df794e27f679df..0000000000000000000000000000000000000000
+++ /dev/null
@@ -1 +0,0 @@
-#include "../../crypto/opensslv.h"
new file mode 120000 (symlink)
index 0000000000000000000000000000000000000000..f314f5fc717d1211ab832c2b84b4067da2d6306e
--- /dev/null
@@ -0,0 +1 @@
+../../crypto/opensslv.h
\ No newline at end of file
deleted file mode 100644 (file)
index ddd7e580dd6c8af65e646ab79a9f5dbc5b635256..0000000000000000000000000000000000000000
+++ /dev/null
@@ -1 +0,0 @@
-#include "../../crypto/ossl_typ.h"
new file mode 120000 (symlink)
index 0000000000000000000000000000000000000000..e8f42456e143cb19d85f82290bd861ab68f512bc
--- /dev/null
@@ -0,0 +1 @@
+../../crypto/ossl_typ.h
\ No newline at end of file
deleted file mode 100644 (file)
index 5bcc5c59eed0d600b0c0e5a80fc72c80ccdc2dee..0000000000000000000000000000000000000000
+++ /dev/null
@@ -1 +0,0 @@
-#include "../../crypto/pem/pem.h"
new file mode 120000 (symlink)
index 0000000000000000000000000000000000000000..ca371423e7bd0aa062c65ef16d3e1e4475c9e28c
--- /dev/null
@@ -0,0 +1 @@
+../../crypto/pem/pem.h
\ No newline at end of file
deleted file mode 100644 (file)
index bcd3acf856be27cf3dcc7b8d00a7e599c85d93e6..0000000000000000000000000000000000000000
+++ /dev/null
@@ -1 +0,0 @@
-#include "../../crypto/pem/pem2.h"
new file mode 120000 (symlink)
index 0000000000000000000000000000000000000000..c734dbdc3f3d62e3626cddb65445f1773cab1387
--- /dev/null
@@ -0,0 +1 @@
+../../crypto/pem/pem2.h
\ No newline at end of file
deleted file mode 100644 (file)
index 0b5fbbfe863d5c6b4d24c269d32f099922c7705d..0000000000000000000000000000000000000000
+++ /dev/null
@@ -1 +0,0 @@
-#include "../../crypto/pkcs12/pkcs12.h"
new file mode 120000 (symlink)
index 0000000000000000000000000000000000000000..eebba777899c19becb3cb29dd0d026acc99f2bca
--- /dev/null
@@ -0,0 +1 @@
+../../crypto/pkcs12/pkcs12.h
\ No newline at end of file
deleted file mode 100644 (file)
index 2e19d7c4c9b9637d11a3efcce8c58633467d6723..0000000000000000000000000000000000000000
+++ /dev/null
@@ -1 +0,0 @@
-#include "../../crypto/pkcs7/pkcs7.h"
new file mode 120000 (symlink)
index 0000000000000000000000000000000000000000..73e1b23f77eb66252dc316e543946566a589c3dc
--- /dev/null
@@ -0,0 +1 @@
+../../crypto/pkcs7/pkcs7.h
\ No newline at end of file
deleted file mode 100644 (file)
index 9681ff52cd255cc4238885310ee241188b06ca2e..0000000000000000000000000000000000000000
+++ /dev/null
@@ -1 +0,0 @@
-#include "../../crypto/pqueue/pqueue.h"
new file mode 120000 (symlink)
index 0000000000000000000000000000000000000000..93817c2dfcd9effe6d67666d35ca89305daf72af
--- /dev/null
@@ -0,0 +1 @@
+../../crypto/pqueue/pqueue.h
\ No newline at end of file
deleted file mode 100644 (file)
index 9d1521bd4e335db709fc5af24527c75377bc71e3..0000000000000000000000000000000000000000
+++ /dev/null
@@ -1 +0,0 @@
-#include "../../crypto/rand/rand.h"
new file mode 120000 (symlink)
index 0000000000000000000000000000000000000000..11231f8523913c0a8f9984ed3e2af14f3b4d6fbb
--- /dev/null
@@ -0,0 +1 @@
+../../crypto/rand/rand.h
\ No newline at end of file
deleted file mode 100644 (file)
index f2f2bd1f21c0b4c0f4b4380b3f613a1021066850..0000000000000000000000000000000000000000
+++ /dev/null
@@ -1 +0,0 @@
-#include "../../crypto/rc2/rc2.h"
new file mode 120000 (symlink)
index 0000000000000000000000000000000000000000..bb5a05c5d1e753ff94ca0b562f30aa93fc956316
--- /dev/null
@@ -0,0 +1 @@
+../../crypto/rc2/rc2.h
\ No newline at end of file
deleted file mode 100644 (file)
index 306de2f406e810e0234388a4e1d06f040093147f..0000000000000000000000000000000000000000
+++ /dev/null
@@ -1 +0,0 @@
-#include "../../crypto/rc4/rc4.h"
new file mode 120000 (symlink)
index 0000000000000000000000000000000000000000..ef7deeb7d4a89c19b3cc9eea8f2545259c42fbb2
--- /dev/null
@@ -0,0 +1 @@
+../../crypto/rc4/rc4.h
\ No newline at end of file
deleted file mode 100644 (file)
index 11351fc819d1b71c7bb462d62203a4e7454c0f93..0000000000000000000000000000000000000000
+++ /dev/null
@@ -1 +0,0 @@
-#include "../../crypto/ripemd/ripemd.h"
new file mode 120000 (symlink)
index 0000000000000000000000000000000000000000..200f562fa7d01478792ebf9b8a873bb40f568bb1
--- /dev/null
@@ -0,0 +1 @@
+../../crypto/ripemd/ripemd.h
\ No newline at end of file
deleted file mode 100644 (file)
index 975e5d355abd47a1a27b9fba53f36c9de1f44fd2..0000000000000000000000000000000000000000
+++ /dev/null
@@ -1 +0,0 @@
-#include "../../crypto/rsa/rsa.h"
new file mode 120000 (symlink)
index 0000000000000000000000000000000000000000..3e5a6547543cb931f3bf7b9ac9c71616e93468a3
--- /dev/null
@@ -0,0 +1 @@
+../../crypto/rsa/rsa.h
\ No newline at end of file
deleted file mode 100644 (file)
index 8a282b858ba1088f8f1fe2be89e6cff82acc5c99..0000000000000000000000000000000000000000
+++ /dev/null
@@ -1 +0,0 @@
-#include "../../crypto/stack/safestack.h"
new file mode 120000 (symlink)
index 0000000000000000000000000000000000000000..8ca5b4cc7c5c42e2d514c4b2f035ef6dd6c9cc7f
--- /dev/null
@@ -0,0 +1 @@
+../../crypto/stack/safestack.h
\ No newline at end of file
deleted file mode 100644 (file)
index bbbf596df86ce5e013a04829ce9a56fae767cb47..0000000000000000000000000000000000000000
+++ /dev/null
@@ -1 +0,0 @@
-#include "../../crypto/seed/seed.h"
new file mode 120000 (symlink)
index 0000000000000000000000000000000000000000..05d04a50bf80697a6eaf236de7583b24fe79b71f
--- /dev/null
@@ -0,0 +1 @@
+../../crypto/seed/seed.h
\ No newline at end of file
deleted file mode 100644 (file)
index ab9d94c38689b83e6ce292afd063f8d72a945563..0000000000000000000000000000000000000000
+++ /dev/null
@@ -1 +0,0 @@
-#include "../../crypto/sha/sha.h"
new file mode 120000 (symlink)
index 0000000000000000000000000000000000000000..3025cd5d7e5aa28f64c6144d6a448b6d95c5649b
--- /dev/null
@@ -0,0 +1 @@
+../../crypto/sha/sha.h
\ No newline at end of file
deleted file mode 100644 (file)
index 8217476779e61064ccdcbc484004168a6cef2030..0000000000000000000000000000000000000000
+++ /dev/null
@@ -1 +0,0 @@
-#include "../../crypto/srp/srp.h"
new file mode 120000 (symlink)
index 0000000000000000000000000000000000000000..16b73ebd3ddeb64b4524c765a06e7ec88b9d25ce
--- /dev/null
@@ -0,0 +1 @@
+../../crypto/srp/srp.h
\ No newline at end of file
deleted file mode 100644 (file)
index e185494a523b02e429e323035639a4d4c6d3b99e..0000000000000000000000000000000000000000
+++ /dev/null
@@ -1 +0,0 @@
-#include "../../ssl/srtp.h"
new file mode 120000 (symlink)
index 0000000000000000000000000000000000000000..9800e4ee402f35204e4c18cc8935bec870573eb6
--- /dev/null
@@ -0,0 +1 @@
+../../ssl/srtp.h
\ No newline at end of file
deleted file mode 100644 (file)
index 0b0589c639a94de2f2e8aacb5ad98a612adecc98..0000000000000000000000000000000000000000
+++ /dev/null
@@ -1 +0,0 @@
-#include "../../ssl/ssl.h"
new file mode 120000 (symlink)
index 0000000000000000000000000000000000000000..e87d9be8fc66369c648ce11b01f2c954e8b456d4
--- /dev/null
@@ -0,0 +1 @@
+../../ssl/ssl.h
\ No newline at end of file
deleted file mode 100644 (file)
index 11b22055ea7334a27b78eefbbe9f3116582d180f..0000000000000000000000000000000000000000
+++ /dev/null
@@ -1 +0,0 @@
-#include "../../ssl/ssl2.h"
new file mode 120000 (symlink)
index 0000000000000000000000000000000000000000..72876883c6342dec6ada9c470143dd6d0a89b40b
--- /dev/null
@@ -0,0 +1 @@
+../../ssl/ssl2.h
\ No newline at end of file
deleted file mode 100644 (file)
index fe4dae6661ffbcef6518142860aedaed9aae1fdf..0000000000000000000000000000000000000000
+++ /dev/null
@@ -1 +0,0 @@
-#include "../../ssl/ssl23.h"
new file mode 120000 (symlink)
index 0000000000000000000000000000000000000000..5605052d7013473ac66e3e7bd13e3555a3b60d6c
--- /dev/null
@@ -0,0 +1 @@
+../../ssl/ssl23.h
\ No newline at end of file
deleted file mode 100644 (file)
index 0fb66a6f75206277d0fa78200e1fbdc3fe7a64d3..0000000000000000000000000000000000000000
+++ /dev/null
@@ -1 +0,0 @@
-#include "../../ssl/ssl3.h"
new file mode 120000 (symlink)
index 0000000000000000000000000000000000000000..5ae2507f28a184f1d3218ee459705a91929dc7b4
--- /dev/null
@@ -0,0 +1 @@
+../../ssl/ssl3.h
\ No newline at end of file
deleted file mode 100644 (file)
index 295968cc186805e197688e92b21cd3151ce43668..0000000000000000000000000000000000000000
+++ /dev/null
@@ -1 +0,0 @@
-#include "../../crypto/stack/stack.h"
new file mode 120000 (symlink)
index 0000000000000000000000000000000000000000..61d342fcdc58090b134d62220f6b7c2fda6cd0dc
--- /dev/null
@@ -0,0 +1 @@
+../../crypto/stack/stack.h
\ No newline at end of file
deleted file mode 100644 (file)
index f946f4ffc6f301c4413421a2392242e7b8f209eb..0000000000000000000000000000000000000000
+++ /dev/null
@@ -1 +0,0 @@
-#include "../../crypto/symhacks.h"
new file mode 120000 (symlink)
index 0000000000000000000000000000000000000000..4a1a6913cf755d59f13730bb0452ad6016e30b04
--- /dev/null
@@ -0,0 +1 @@
+../../crypto/symhacks.h
\ No newline at end of file
deleted file mode 100644 (file)
index c43a70ff31fb4d26f3094b713dcffe824c83c41c..0000000000000000000000000000000000000000
+++ /dev/null
@@ -1 +0,0 @@
-#include "../../ssl/tls1.h"
new file mode 120000 (symlink)
index 0000000000000000000000000000000000000000..53d998fbd860835c0f5b96adfc5ad75666f31bae
--- /dev/null
@@ -0,0 +1 @@
+../../ssl/tls1.h
\ No newline at end of file
deleted file mode 100644 (file)
index fe8a2cb51a2eea3dcf64ae508b189e80a2798769..0000000000000000000000000000000000000000
+++ /dev/null
@@ -1 +0,0 @@
-#include "../../crypto/ts/ts.h"
new file mode 120000 (symlink)
index 0000000000000000000000000000000000000000..a75d99db1a88dc9bc8161b00e06a0da1903709fa
--- /dev/null
@@ -0,0 +1 @@
+../../crypto/ts/ts.h
\ No newline at end of file
deleted file mode 100644 (file)
index 167621b6fa881f53965e369a6588c1c588b4ece1..0000000000000000000000000000000000000000
+++ /dev/null
@@ -1 +0,0 @@
-#include "../../crypto/txt_db/txt_db.h"
new file mode 120000 (symlink)
index 0000000000000000000000000000000000000000..f672e35520c0ecd2054b07f0ff694e32d9e31d6e
--- /dev/null
@@ -0,0 +1 @@
+../../crypto/txt_db/txt_db.h
\ No newline at end of file
deleted file mode 100644 (file)
index 43dd3ae83a51b7b3425b6150dc7887189e8e3823..0000000000000000000000000000000000000000
+++ /dev/null
@@ -1 +0,0 @@
-#include "../../crypto/ui/ui.h"
new file mode 120000 (symlink)
index 0000000000000000000000000000000000000000..b07defad72b11c1f350cdf1aa75808f06cb3d162
--- /dev/null
@@ -0,0 +1 @@
+../../crypto/ui/ui.h
\ No newline at end of file
deleted file mode 100644 (file)
index c83f160d802112c8341584376b45c763f340fd35..0000000000000000000000000000000000000000
+++ /dev/null
@@ -1 +0,0 @@
-#include "../../crypto/ui/ui_compat.h"
new file mode 120000 (symlink)
index 0000000000000000000000000000000000000000..d8c74b7c5d72f8258ae3592c8b9615ddd74a11f9
--- /dev/null
@@ -0,0 +1 @@
+../../crypto/ui/ui_compat.h
\ No newline at end of file
deleted file mode 100644 (file)
index e2424fadde27889880873ebb2c6c933b78fed77a..0000000000000000000000000000000000000000
+++ /dev/null
@@ -1 +0,0 @@
-#include "../../crypto/whrlpool/whrlpool.h"
new file mode 120000 (symlink)
index 0000000000000000000000000000000000000000..125a0816f509db48910ccaaef2d3132d2c622928
--- /dev/null
@@ -0,0 +1 @@
+../../crypto/whrlpool/whrlpool.h
\ No newline at end of file
deleted file mode 100644 (file)
index a4651a28652433579d119b769c3472754382406e..0000000000000000000000000000000000000000
+++ /dev/null
@@ -1 +0,0 @@
-#include "../../crypto/x509/x509.h"
new file mode 120000 (symlink)
index 0000000000000000000000000000000000000000..b2b85c52486dff07ff7f6afc30a5641623252cd3
--- /dev/null
@@ -0,0 +1 @@
+../../crypto/x509/x509.h
\ No newline at end of file
deleted file mode 100644 (file)
index b897aa087bdae818d2de131c64448e9e9e4aac0b..0000000000000000000000000000000000000000
+++ /dev/null
@@ -1 +0,0 @@
-#include "../../crypto/x509/x509_vfy.h"
new file mode 120000 (symlink)
index 0000000000000000000000000000000000000000..bb99ad49811ad439d9c178b0302027f14a9c1d38
--- /dev/null
@@ -0,0 +1 @@
+../../crypto/x509/x509_vfy.h
\ No newline at end of file
deleted file mode 100644 (file)
index 363795e55a280a5d56c800f4792a7f1d6373e463..0000000000000000000000000000000000000000
+++ /dev/null
@@ -1 +0,0 @@
-#include "../../crypto/x509v3/x509v3.h"
new file mode 120000 (symlink)
index 0000000000000000000000000000000000000000..63d12f9dc5f7883fa7cc1a42ccb07d694310290b
--- /dev/null
@@ -0,0 +1 @@
+../../crypto/x509v3/x509v3.h
\ No newline at end of file
index 01f0617..e6c7584 100644 (file)
@@ -6,7 +6,7 @@ Release: 1
 
 Summary: Secure Sockets Layer and cryptography libraries and tools
 Name: openssl
-Version: 1.0.2b
+Version: 1.0.2c
 Source0: ftp://ftp.openssl.org/source/%{name}-%{version}.tar.gz
 License: OpenSSL
 Group: System Environment/Libraries
index d811d3f..210a5e8 100644 (file)
@@ -2016,12 +2016,12 @@ static int ssl_scan_clienthello_tlsext(SSL *s, unsigned char **p,
 
     s->srtp_profile = NULL;
 
-    if (data >= (d + n - 2)) {
-        if (data != d + n)
-            goto err;
-        else
-            goto ri_check;
-    }
+    if (data == d + n)
+        goto ri_check;
+
+    if (data > (d + n - 2))
+        goto err;
+
     n2s(data, len);
 
     if (data > (d + n - len))