Dmitry Belyavskiy
9fd6f7d1cd
Avoid NULL pointer dereference. Fixes #9043 .
...
Reviewed-by: Paul Dale <paul.dale@oracle.com>
(Merged from https://github.com/openssl/openssl/pull/9059 )
2019-07-08 20:14:50 +10:00
Richard Levitte
3e4b43b9e5
Following the license change, modify the boilerplates in crypto/x509/
...
[skip ci]
Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/7824 )
2018-12-06 15:30:09 +01:00
Richard Levitte
3c7d0945b6
Update copyright years on all files merged since Jan 1st 2018
...
Reviewed-by: Tim Hudson <tjh@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/5038 )
2018-01-09 05:49:01 +01:00
Dmitry Belyavskiy
40cea0a457
NUMERICSTRING support
...
Reviewed-by: Richard Levitte <levitte@openssl.org>
Reviewed-by: Rich Salz <rsalz@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/5036 )
2018-01-08 11:30:55 -05:00
Bernd Edlinger
ae880ae671
Fix error handling in X509_REQ_print_ex
...
Reviewed-by: Rich Salz <rsalz@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/5025 )
2018-01-06 15:22:34 +01:00
Rich Salz
7838b41333
Rewrite RT3513.
...
Reviewed-by: Richard Levitte <levitte@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/5011 )
2018-01-04 13:55:15 -05:00
KaoruToda
26a7d938c9
Remove parentheses of return.
...
Since return is inconsistent, I removed unnecessary parentheses and
unified them.
Reviewed-by: Rich Salz <rsalz@openssl.org>
Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/4541 )
2017-10-18 16:05:06 +01:00
KaoruToda
208fb891e3
Since return is inconsistent, I removed unnecessary parentheses and
...
unified them.
- return (0); -> return 0;
- return (1); -> return 1;
- return (-1); -> return -1;
Reviewed-by: Stephen Henson <steve@openssl.org>
Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/4500 )
2017-10-09 13:17:09 +01:00
Kurt Roeckx
c2ce477f1f
Fix undefined behaviour when printing the X509 and CRL version
...
Found by oss-fuzz
Reviewed-by: Andy Polyakov <appro@openssl.org>
GH: #2231
2017-01-15 22:21:08 +01:00
Dr. Stephen Henson
11222483d7
constify X509_REQ_get0_signature()
...
Reviewed-by: Matt Caswell <matt@openssl.org>
2016-08-19 12:47:31 +01:00
FdaSilvaYY
1c72f70df4
Use more X509_REQ_get0_pubkey & X509_get0_pubkey
...
Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Rich Salz <rsalz@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/1284 )
2016-07-20 01:35:38 -04:00
Rich Salz
b1322259d9
Copyright consolidation 09/10
...
Reviewed-by: Richard Levitte <levitte@openssl.org>
2016-05-17 14:53:16 -04:00
isnotnick
ec5b56f3c5
RT3513: req doesn't display attributes using utf8string
...
Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Richard Levitte <levitte@openssl.org>
2016-05-06 15:58:24 +02:00
Rich Salz
3c27208fab
Remove #error from include files.
...
Don't have #error statements in header files, but instead wrap
the contents of that file in #ifndef OPENSSL_NO_xxx
This means it is now always safe to include the header file.
Reviewed-by: Richard Levitte <levitte@openssl.org>
2016-03-20 19:48:36 -04:00
Dmitry-Me
fbff671659
GH784: Better variable name
...
Signed-off-by: Rich Salz <rsalz@openssl.org>
Reviewed-by: Emilia Käsper <emilia@openssl.org>
2016-03-04 11:49:22 -05:00
Rich Salz
349807608f
Remove /* foo.c */ comments
...
This was done by the following
find . -name '*.[ch]' | /tmp/pl
where /tmp/pl is the following three-line script:
print unless $. == 1 && m@/\* .*\.[ch] \*/@;
close ARGV if eof; # Close file to reset $.
And then some hand-editing of other files.
Reviewed-by: Viktor Dukhovni <viktor@openssl.org>
2016-01-26 16:40:43 -05:00
Dr. Stephen Henson
2aa707c6ac
Fix path in comments
...
Reviewed-by: Rich Salz <rsalz@openssl.org>
2015-09-22 16:47:09 +01:00
Dr. Stephen Henson
1e898fb0f5
Move certificate request and CRL routines to x509 dir.
...
Reviewed-by: Rich Salz <rsalz@openssl.org>
2015-09-22 16:35:55 +01:00