GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — deps: upgrade openssl sources to 1.0.2s · nodejs/node@dc9d645

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • deps/openssl/openssl
    • CHANGES
    • Configure
    • Makefile
    • README
    • apps
      • CA.pl
      • app_rand.c
      • s_client.c
    • config
    • crypto
      • dh
        • dh_pmeth.c
      • dsa
        • dsa_pmeth.c
      • ecdh
        • ech_ossl.c
      • ec
        • ec2_oct.c
        • ec_lib.c
        • ec_mult.c
        • ecp_nistp521.c
        • ecp_oct.c
        • ectest.c
      • err
        • err.c
        • err.h
      • opensslconf.h
      • opensslv.h
      • perlasm
        • x86masm.pl
      • rsa
        • rsa_eay.c
        • rsa_oaep.c
        • rsa_pk1.c
        • rsa_pmeth.c
        • rsa_ssl.c
    • doc/apps
      • genpkey.pod
    • include/openssl
      • aes.h
      • asn1.h
      • asn1_mac.h
      • asn1t.h
      • bio.h
      • blowfish.h
      • bn.h
      • buffer.h
      • camellia.h
      • cast.h
      • cmac.h
      • cms.h
      • comp.h
      • conf.h
      • conf_api.h
      • crypto.h
      • des.h
      • des_old.h
      • dh.h
      • dsa.h
      • dso.h
      • dtls1.h
      • e_os2.h
      • ebcdic.h
      • ec.h
      • ecdh.h
      • ecdsa.h
      • engine.h
      • err.h
      • evp.h
      • hmac.h
      • idea.h
      • krb5_asn.h
      • kssl.h
      • lhash.h
      • md4.h
      • md5.h
      • mdc2.h
      • modes.h
      • obj_mac.h
      • objects.h
      • ocsp.h
      • opensslconf.h
      • opensslv.h
      • ossl_typ.h
      • pem.h
      • pem2.h
      • pkcs12.h
      • pkcs7.h
      • pqueue.h
      • rand.h
      • rc2.h
      • rc4.h
      • ripemd.h
      • rsa.h
      • safestack.h
      • seed.h
      • sha.h
      • srp.h
      • srtp.h
      • ssl.h
      • ssl2.h
      • ssl23.h
      • ssl3.h
      • stack.h
      • symhacks.h
      • tls1.h
      • ts.h
      • txt_db.h
      • ui.h
      • ui_compat.h
      • whrlpool.h
      • x509.h
      • x509_vfy.h
      • x509v3.h
    • openssl.spec
    • ssl
      • d1_pkt.c
      • s3_pkt.c
    • tools
      • c_rehash

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Dismiss banner
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎deps/openssl/openssl/CHANGES‎

Copy file name to clipboardExpand all lines: deps/openssl/openssl/CHANGES
+17Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,23 @@
77
https://github.com/openssl/openssl/commits/ and pick the appropriate
88
release branch.
99

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+
1027
Changes between 1.0.2q and 1.0.2r [26 Feb 2019]
1128

1229
*) 0-byte record padding oracle
Collapse file

‎deps/openssl/openssl/Configure‎

Copy file name to clipboardExpand all lines: deps/openssl/openssl/Configure
+1Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -475,6 +475,7 @@ my %table=(
475475
"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)",
476476
"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)",
477477
"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)",
478479

479480
#### *BSD [do see comment about ${BSDthreads} above!]
480481
"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)",
Collapse file

‎deps/openssl/openssl/Makefile‎

Copy file name to clipboardExpand all lines: deps/openssl/openssl/Makefile
+2-2Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
## Makefile for OpenSSL
55
##
66

7-
VERSION=1.0.2r
7+
VERSION=1.0.2s
88
MAJOR=1
99
MINOR=0.2
1010
SHLIB_VERSION_NUMBER=1.0.0
@@ -70,7 +70,7 @@ AR= ar $(ARFLAGS) r
7070
RANLIB= /usr/bin/ranlib
7171
RC= windres
7272
NM= nm
73-
PERL= /usr/bin/perl
73+
PERL= /usr/local/bin/perl
7474
TAR= tar
7575
TARFLAGS= --no-recursion
7676
MAKEDEPPROG= gcc
Collapse file

‎deps/openssl/openssl/README‎

Copy file name to clipboardExpand all lines: deps/openssl/openssl/README
+2-2Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11

2-
OpenSSL 1.0.2r 26 Feb 2019
2+
OpenSSL 1.0.2s 28 May 2019
33

4-
Copyright (c) 1998-2018 The OpenSSL Project
4+
Copyright (c) 1998-2019 The OpenSSL Project
55
Copyright (c) 1995-1998 Eric A. Young, Tim J. Hudson
66
All rights reserved.
77

Collapse file

‎deps/openssl/openssl/apps/CA.pl‎

Copy file name to clipboardExpand all lines: deps/openssl/openssl/apps/CA.pl
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/usr/bin/perl
1+
#!/usr/local/bin/perl
22
#
33
# CA - wrapper around ca to make it easier to use ... basically ca requires
44
# some setup stuff to be done before you can use it and this makes
Collapse file

‎deps/openssl/openssl/apps/app_rand.c‎

Copy file name to clipboardExpand all lines: deps/openssl/openssl/apps/app_rand.c
+1-10Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -124,16 +124,7 @@ int app_RAND_load_file(const char *file, BIO *bio_e, int dont_warn)
124124
char buffer[200];
125125

126126
#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();
137128
#endif
138129

139130
if (file == NULL)
Collapse file

‎deps/openssl/openssl/apps/s_client.c‎

Copy file name to clipboardExpand all lines: deps/openssl/openssl/apps/s_client.c
+8-23Lines changed: 8 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -180,13 +180,6 @@ typedef unsigned int u_int;
180180
# include <fcntl.h>
181181
#endif
182182

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-
190183
#undef PROG
191184
#define PROG s_client_main
192185

@@ -236,7 +229,6 @@ static BIO *bio_c_msg = NULL;
236229
static int c_quiet = 0;
237230
static int c_ign_eof = 0;
238231
static int c_brief = 0;
239-
static int c_no_rand_screen = 0;
240232

241233
#ifndef OPENSSL_NO_PSK
242234
/* Default PSK identity and key */
@@ -452,10 +444,6 @@ static void sc_usage(void)
452444
" -keymatexport label - Export keying material using label\n");
453445
BIO_printf(bio_err,
454446
" -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
459447
}
460448

461449
#ifndef OPENSSL_NO_TLSEXT
@@ -1149,10 +1137,6 @@ int MAIN(int argc, char **argv)
11491137
keymatexportlen = atoi(*(++argv));
11501138
if (keymatexportlen == 0)
11511139
goto bad;
1152-
#ifdef OPENSSL_SYS_WINDOWS
1153-
} else if (strcmp(*argv, "-no_rand_screen") == 0) {
1154-
c_no_rand_screen = 1;
1155-
#endif
11561140
} else {
11571141
BIO_printf(bio_err, "unknown option %s\n", *argv);
11581142
badop = 1;
@@ -1269,7 +1253,7 @@ int MAIN(int argc, char **argv)
12691253
if (!load_excert(&exc, bio_err))
12701254
goto end;
12711255
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
12731257
&& !RAND_status()) {
12741258
BIO_printf(bio_err,
12751259
"warning, not much extra random data, consider using the -rand option\n");
@@ -1809,16 +1793,17 @@ int MAIN(int argc, char **argv)
18091793
tv.tv_usec = 0;
18101794
i = select(width, (void *)&readfds, (void *)&writefds,
18111795
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
18131800
if (!i && (!((_kbhit())
18141801
|| (WAIT_OBJECT_0 ==
18151802
WaitForSingleObject(GetStdHandle
18161803
(STD_INPUT_HANDLE),
18171804
0)))
18181805
|| !read_tty))
18191806
continue;
1820-
#else
1821-
if(!i && (!_kbhit() || !read_tty) ) continue;
18221807
# endif
18231808
} else
18241809
i = select(width, (void *)&readfds, (void *)&writefds,
@@ -2020,12 +2005,12 @@ int MAIN(int argc, char **argv)
20202005
}
20212006
}
20222007
#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
20242011
else if ((_kbhit())
20252012
|| (WAIT_OBJECT_0 ==
20262013
WaitForSingleObject(GetStdHandle(STD_INPUT_HANDLE), 0)))
2027-
#else
2028-
else if (_kbhit())
20292014
# endif
20302015
#elif defined (OPENSSL_SYS_NETWARE)
20312016
else if (_kbhit())
Collapse file

‎deps/openssl/openssl/config‎

Copy file name to clipboardExpand all lines: deps/openssl/openssl/config
+1Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -871,6 +871,7 @@ case "$GUESSOS" in
871871
*-*-qnx6) OUT="QNX6" ;;
872872
x86-*-android|i?86-*-android) OUT="android-x86" ;;
873873
armv[7-9]*-*-android) OUT="android-armv7" ;;
874+
aarch64-*-android) OUT="android64-aarch64" ;;
874875
*) OUT=`echo $GUESSOS | awk -F- '{print $3}'`;;
875876
esac
876877

Collapse file

‎deps/openssl/openssl/crypto/dh/dh_pmeth.c‎

Copy file name to clipboardExpand all lines: deps/openssl/openssl/crypto/dh/dh_pmeth.c
+2-2Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
* 2006.
44
*/
55
/* ====================================================================
6-
* Copyright (c) 2006-2018 The OpenSSL Project. All rights reserved.
6+
* Copyright (c) 2006-2019 The OpenSSL Project. All rights reserved.
77
*
88
* Redistribution and use in source and binary forms, with or without
99
* modification, are permitted provided that the following conditions
@@ -101,7 +101,7 @@ static int pkey_dh_init(EVP_PKEY_CTX *ctx)
101101
dctx = OPENSSL_malloc(sizeof(DH_PKEY_CTX));
102102
if (!dctx)
103103
return 0;
104-
dctx->prime_len = 1024;
104+
dctx->prime_len = 2048;
105105
dctx->subprime_len = -1;
106106
dctx->generator = 2;
107107
dctx->use_dsa = 0;
Collapse file

‎deps/openssl/openssl/crypto/dsa/dsa_pmeth.c‎

Copy file name to clipboardExpand all lines: deps/openssl/openssl/crypto/dsa/dsa_pmeth.c
+5-5Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
* 2006.
44
*/
55
/* ====================================================================
6-
* Copyright (c) 2006-2018 The OpenSSL Project. All rights reserved.
6+
* Copyright (c) 2006-2019 The OpenSSL Project. All rights reserved.
77
*
88
* Redistribution and use in source and binary forms, with or without
99
* modification, are permitted provided that the following conditions
@@ -69,8 +69,8 @@
6969

7070
typedef struct {
7171
/* 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) */
7474
const EVP_MD *pmd; /* MD for parameter generation */
7575
/* Keygen callback info */
7676
int gentmp[2];
@@ -84,8 +84,8 @@ static int pkey_dsa_init(EVP_PKEY_CTX *ctx)
8484
dctx = OPENSSL_malloc(sizeof(DSA_PKEY_CTX));
8585
if (!dctx)
8686
return 0;
87-
dctx->nbits = 1024;
88-
dctx->qbits = 160;
87+
dctx->nbits = 2048;
88+
dctx->qbits = 224;
8989
dctx->pmd = NULL;
9090
dctx->md = NULL;
9191

0 commit comments

Comments
0 (0)
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.