| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -7,6 +7,23 @@ | |||
| 7 | 7 | https://github.com/openssl/openssl/commits/ and pick the appropriate | |
| 8 | 8 | release branch. | |
| 9 | 9 | ||
| 10 | + Changes between 1.0.2r and 1.0.2s [28 May 2019] | ||
| 11 | + | ||
| 12 | + *) Change the default RSA, DSA and DH size to 2048 bit instead of 1024. | ||
| 13 | + This changes the size when using the genpkey app when no size is given. It | ||
| 14 | + fixes an omission in earlier changes that changed all RSA, DSA and DH | ||
| 15 | + generation apps to use 2048 bits by default. | ||
| 16 | + [Kurt Roeckx] | ||
| 17 | + | ||
| 18 | + *) Add FIPS support for Android Arm 64-bit | ||
| 19 | + | ||
| 20 | + Support for Android Arm 64-bit was added to the OpenSSL FIPS Object | ||
| 21 | + Module in Version 2.0.10. For some reason, the corresponding target | ||
| 22 | + 'android64-aarch64' was missing OpenSSL 1.0.2, whence it could not be | ||
| 23 | + built with FIPS support on Android Arm 64-bit. This omission has been | ||
| 24 | + fixed. | ||
| 25 | + [Matthias St. Pierre] | ||
| 26 | + | ||
| 10 | 27 | Changes between 1.0.2q and 1.0.2r [26 Feb 2019] | |
| 11 | 28 | ||
| 12 | 29 | *) 0-byte record padding oracle | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -475,6 +475,7 @@ my %table=( | |||
| 475 | 475 | "android-x86","gcc:-mandroid -I\$(ANDROID_DEV)/include -B\$(ANDROID_DEV)/lib -O3 -fomit-frame-pointer -Wall::-D_REENTRANT::-ldl:BN_LLONG ${x86_gcc_des} ${x86_gcc_opts}:".eval{my $asm=${x86_elf_asm};$asm=~s/:elf/:android/;$asm}.":dlfcn:linux-shared:-fPIC::.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)", | |
| 476 | 476 | "android-armv7","gcc:-march=armv7-a -mandroid -I\$(ANDROID_DEV)/include -B\$(ANDROID_DEV)/lib -O3 -fomit-frame-pointer -Wall::-D_REENTRANT::-ldl:BN_LLONG RC4_CHAR RC4_CHUNK DES_INT DES_UNROLL BF_PTR:${armv4_asm}:dlfcn:linux-shared:-fPIC::.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)", | |
| 477 | 477 | "android-mips","gcc:-mandroid -I\$(ANDROID_DEV)/include -B\$(ANDROID_DEV)/lib -O3 -Wall::-D_REENTRANT::-ldl:BN_LLONG RC4_CHAR RC4_CHUNK DES_INT DES_UNROLL BF_PTR:${mips32_asm}:o32:dlfcn:linux-shared:-fPIC::.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)", | |
| 478 | + "android64-aarch64","gcc:-mandroid -fPIC -I\$(ANDROID_DEV)/include -B\$(ANDROID_DEV)/lib -O3 -Wall::-D_REENTRANT::-pie%-ldl:SIXTY_FOUR_BIT_LONG RC4_CHAR RC4_CHUNK DES_INT DES_UNROLL BF_PTR:${aarch64_asm}:linux64:dlfcn:linux-shared:::.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)", | ||
| 478 | 479 | ||
| 479 | 480 | #### *BSD [do see comment about ${BSDthreads} above!] | |
| 480 | 481 | "BSD-generic32","gcc:-O3 -fomit-frame-pointer -Wall::${BSDthreads}:::BN_LLONG RC2_CHAR RC4_INDEX DES_INT DES_UNROLL:${no_asm}:dlfcn:bsd-gcc-shared:-fPIC::.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)", | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -4,7 +4,7 @@ | |||
| 4 | 4 | ## Makefile for OpenSSL | |
| 5 | 5 | ## | |
| 6 | 6 | ||
| 7 | - VERSION=1.0.2r | ||
| 7 | + VERSION=1.0.2s | ||
| 8 | 8 | MAJOR=1 | |
| 9 | 9 | MINOR=0.2 | |
| 10 | 10 | SHLIB_VERSION_NUMBER=1.0.0 | |
@@ -70,7 +70,7 @@ AR= ar $(ARFLAGS) r | |||
| 70 | 70 | RANLIB= /usr/bin/ranlib | |
| 71 | 71 | RC= windres | |
| 72 | 72 | NM= nm | |
| 73 | - PERL= /usr/bin/perl | ||
| 73 | + PERL= /usr/local/bin/perl | ||
| 74 | 74 | TAR= tar | |
| 75 | 75 | TARFLAGS= --no-recursion | |
| 76 | 76 | MAKEDEPPROG= gcc | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1,7 +1,7 @@ | |||
| 1 | 1 | ||
| 2 | - OpenSSL 1.0.2r 26 Feb 2019 | ||
| 2 | + OpenSSL 1.0.2s 28 May 2019 | ||
| 3 | 3 | ||
| 4 | - Copyright (c) 1998-2018 The OpenSSL Project | ||
| 4 | + Copyright (c) 1998-2019 The OpenSSL Project | ||
| 5 | 5 | Copyright (c) 1995-1998 Eric A. Young, Tim J. Hudson | |
| 6 | 6 | All rights reserved. | |
| 7 | 7 | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1,4 +1,4 @@ | |||
| 1 | - #!/usr/bin/perl | ||
| 1 | + #!/usr/local/bin/perl | ||
| 2 | 2 | # | |
| 3 | 3 | # CA - wrapper around ca to make it easier to use ... basically ca requires | |
| 4 | 4 | # some setup stuff to be done before you can use it and this makes | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -124,16 +124,7 @@ int app_RAND_load_file(const char *file, BIO *bio_e, int dont_warn) | |||
| 124 | 124 | char buffer[200]; | |
| 125 | 125 | ||
| 126 | 126 | #ifdef OPENSSL_SYS_WINDOWS | |
| 127 | - /* | ||
| 128 | - * allocate 2 to dont_warn not to use RAND_screen() via | ||
| 129 | - * -no_rand_screen option in s_client | ||
| 130 | - */ | ||
| 131 | - if (dont_warn != 2) { | ||
| 132 | - BIO_printf(bio_e, "Loading 'screen' into random state -"); | ||
| 133 | - BIO_flush(bio_e); | ||
| 134 | - RAND_screen(); | ||
| 135 | - BIO_printf(bio_e, " done\n"); | ||
| 136 | - } | ||
| 127 | + RAND_screen(); | ||
| 137 | 128 | #endif | |
| 138 | 129 | ||
| 139 | 130 | if (file == NULL) | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -180,13 +180,6 @@ typedef unsigned int u_int; | |||
| 180 | 180 | # include <fcntl.h> | |
| 181 | 181 | #endif | |
| 182 | 182 | ||
| 183 | - /* Use Windows API with STD_INPUT_HANDLE when checking for input? | ||
| 184 | - Don't look at OPENSSL_SYS_MSDOS for this, since it is always defined if | ||
| 185 | - OPENSSL_SYS_WINDOWS is defined */ | ||
| 186 | - #if defined(OPENSSL_SYS_WINDOWS) && !defined(OPENSSL_SYS_WINCE) && defined(STD_INPUT_HANDLE) | ||
| 187 | - #define OPENSSL_USE_STD_INPUT_HANDLE | ||
| 188 | - #endif | ||
| 189 | - | ||
| 190 | 183 | #undef PROG | |
| 191 | 184 | #define PROG s_client_main | |
| 192 | 185 | ||
@@ -236,7 +229,6 @@ static BIO *bio_c_msg = NULL; | |||
| 236 | 229 | static int c_quiet = 0; | |
| 237 | 230 | static int c_ign_eof = 0; | |
| 238 | 231 | static int c_brief = 0; | |
| 239 | - static int c_no_rand_screen = 0; | ||
| 240 | 232 | ||
| 241 | 233 | #ifndef OPENSSL_NO_PSK | |
| 242 | 234 | /* Default PSK identity and key */ | |
@@ -452,10 +444,6 @@ static void sc_usage(void) | |||
| 452 | 444 | " -keymatexport label - Export keying material using label\n"); | |
| 453 | 445 | BIO_printf(bio_err, | |
| 454 | 446 | " -keymatexportlen len - Export len bytes of keying material (default 20)\n"); | |
| 455 | - #ifdef OPENSSL_SYS_WINDOWS | ||
| 456 | - BIO_printf(bio_err, | ||
| 457 | - " -no_rand_screen - Do not use RAND_screen() to initialize random state\n"); | ||
| 458 | - #endif | ||
| 459 | 447 | } | |
| 460 | 448 | ||
| 461 | 449 | #ifndef OPENSSL_NO_TLSEXT | |
@@ -1149,10 +1137,6 @@ int MAIN(int argc, char **argv) | |||
| 1149 | 1137 | keymatexportlen = atoi(*(++argv)); | |
| 1150 | 1138 | if (keymatexportlen == 0) | |
| 1151 | 1139 | goto bad; | |
| 1152 | - #ifdef OPENSSL_SYS_WINDOWS | ||
| 1153 | - } else if (strcmp(*argv, "-no_rand_screen") == 0) { | ||
| 1154 | - c_no_rand_screen = 1; | ||
| 1155 | - #endif | ||
| 1156 | 1140 | } else { | |
| 1157 | 1141 | BIO_printf(bio_err, "unknown option %s\n", *argv); | |
| 1158 | 1142 | badop = 1; | |
@@ -1269,7 +1253,7 @@ int MAIN(int argc, char **argv) | |||
| 1269 | 1253 | if (!load_excert(&exc, bio_err)) | |
| 1270 | 1254 | goto end; | |
| 1271 | 1255 | ||
| 1272 | - if (!app_RAND_load_file(NULL, bio_err, ++c_no_rand_screen) && inrand == NULL | ||
| 1256 | + if (!app_RAND_load_file(NULL, bio_err, 1) && inrand == NULL | ||
| 1273 | 1257 | && !RAND_status()) { | |
| 1274 | 1258 | BIO_printf(bio_err, | |
| 1275 | 1259 | "warning, not much extra random data, consider using the -rand option\n"); | |
@@ -1809,16 +1793,17 @@ int MAIN(int argc, char **argv) | |||
| 1809 | 1793 | tv.tv_usec = 0; | |
| 1810 | 1794 | i = select(width, (void *)&readfds, (void *)&writefds, | |
| 1811 | 1795 | NULL, &tv); | |
| 1812 | - #if defined(OPENSSL_USE_STD_INPUT_HANDLE) | ||
| 1796 | + # if defined(OPENSSL_SYS_WINCE) || defined(OPENSSL_SYS_MSDOS) | ||
| 1797 | + if (!i && (!_kbhit() || !read_tty)) | ||
| 1798 | + continue; | ||
| 1799 | + # else | ||
| 1813 | 1800 | if (!i && (!((_kbhit()) | |
| 1814 | 1801 | || (WAIT_OBJECT_0 == | |
| 1815 | 1802 | WaitForSingleObject(GetStdHandle | |
| 1816 | 1803 | (STD_INPUT_HANDLE), | |
| 1817 | 1804 | 0))) | |
| 1818 | 1805 | || !read_tty)) | |
| 1819 | 1806 | continue; | |
| 1820 | - #else | ||
| 1821 | - if(!i && (!_kbhit() || !read_tty) ) continue; | ||
| 1822 | 1807 | # endif | |
| 1823 | 1808 | } else | |
| 1824 | 1809 | i = select(width, (void *)&readfds, (void *)&writefds, | |
@@ -2020,12 +2005,12 @@ int MAIN(int argc, char **argv) | |||
| 2020 | 2005 | } | |
| 2021 | 2006 | } | |
| 2022 | 2007 | #if defined(OPENSSL_SYS_WINDOWS) || defined(OPENSSL_SYS_MSDOS) | |
| 2023 | - #if defined(OPENSSL_USE_STD_INPUT_HANDLE) | ||
| 2008 | + # if defined(OPENSSL_SYS_WINCE) || defined(OPENSSL_SYS_MSDOS) | ||
| 2009 | + else if (_kbhit()) | ||
| 2010 | + # else | ||
| 2024 | 2011 | else if ((_kbhit()) | |
| 2025 | 2012 | || (WAIT_OBJECT_0 == | |
| 2026 | 2013 | WaitForSingleObject(GetStdHandle(STD_INPUT_HANDLE), 0))) | |
| 2027 | - #else | ||
| 2028 | - else if (_kbhit()) | ||
| 2029 | 2014 | # endif | |
| 2030 | 2015 | #elif defined (OPENSSL_SYS_NETWARE) | |
| 2031 | 2016 | else if (_kbhit()) | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -871,6 +871,7 @@ case "$GUESSOS" in | |||
| 871 | 871 | *-*-qnx6) OUT="QNX6" ;; | |
| 872 | 872 | x86-*-android|i?86-*-android) OUT="android-x86" ;; | |
| 873 | 873 | armv[7-9]*-*-android) OUT="android-armv7" ;; | |
| 874 | + aarch64-*-android) OUT="android64-aarch64" ;; | ||
| 874 | 875 | *) OUT=`echo $GUESSOS | awk -F- '{print $3}'`;; | |
| 875 | 876 | esac | |
| 876 | 877 | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -3,7 +3,7 @@ | |||
| 3 | 3 | * 2006. | |
| 4 | 4 | */ | |
| 5 | 5 | /* ==================================================================== | |
| 6 | - * Copyright (c) 2006-2018 The OpenSSL Project. All rights reserved. | ||
| 6 | + * Copyright (c) 2006-2019 The OpenSSL Project. All rights reserved. | ||
| 7 | 7 | * | |
| 8 | 8 | * Redistribution and use in source and binary forms, with or without | |
| 9 | 9 | * modification, are permitted provided that the following conditions | |
@@ -101,7 +101,7 @@ static int pkey_dh_init(EVP_PKEY_CTX *ctx) | |||
| 101 | 101 | dctx = OPENSSL_malloc(sizeof(DH_PKEY_CTX)); | |
| 102 | 102 | if (!dctx) | |
| 103 | 103 | return 0; | |
| 104 | - dctx->prime_len = 1024; | ||
| 104 | + dctx->prime_len = 2048; | ||
| 105 | 105 | dctx->subprime_len = -1; | |
| 106 | 106 | dctx->generator = 2; | |
| 107 | 107 | dctx->use_dsa = 0; | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -3,7 +3,7 @@ | |||
| 3 | 3 | * 2006. | |
| 4 | 4 | */ | |
| 5 | 5 | /* ==================================================================== | |
| 6 | - * Copyright (c) 2006-2018 The OpenSSL Project. All rights reserved. | ||
| 6 | + * Copyright (c) 2006-2019 The OpenSSL Project. All rights reserved. | ||
| 7 | 7 | * | |
| 8 | 8 | * Redistribution and use in source and binary forms, with or without | |
| 9 | 9 | * modification, are permitted provided that the following conditions | |
@@ -69,8 +69,8 @@ | |||
| 69 | 69 | ||
| 70 | 70 | typedef struct { | |
| 71 | 71 | /* Parameter gen parameters */ | |
| 72 | - int nbits; /* size of p in bits (default: 1024) */ | ||
| 73 | - int qbits; /* size of q in bits (default: 160) */ | ||
| 72 | + int nbits; /* size of p in bits (default: 2048) */ | ||
| 73 | + int qbits; /* size of q in bits (default: 224) */ | ||
| 74 | 74 | const EVP_MD *pmd; /* MD for parameter generation */ | |
| 75 | 75 | /* Keygen callback info */ | |
| 76 | 76 | int gentmp[2]; | |
@@ -84,8 +84,8 @@ static int pkey_dsa_init(EVP_PKEY_CTX *ctx) | |||
| 84 | 84 | dctx = OPENSSL_malloc(sizeof(DSA_PKEY_CTX)); | |
| 85 | 85 | if (!dctx) | |
| 86 | 86 | return 0; | |
| 87 | - dctx->nbits = 1024; | ||
| 88 | - dctx->qbits = 160; | ||
| 87 | + dctx->nbits = 2048; | ||
| 88 | + dctx->qbits = 224; | ||
| 89 | 89 | dctx->pmd = NULL; | |
| 90 | 90 | dctx->md = NULL; | |
| 91 | 91 | ||
| Back | FazBrowse Home | New Git URL |
0 commit comments