Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(6972)

Issue 7228072: code review 7228072: crypto/x509: test for negative RSA parameters. (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
11 years, 2 months ago by agl1
Modified:
11 years, 2 months ago
Reviewers:
CC:
golang-dev, rsc
Visibility:
Public.

Description

crypto/x509: test for negative RSA parameters. Someone found software that generates negative numbers for the RSA modulus in an X.509 certificate. Our error messages were very poor in this case so this change improves that. Update issue 4728 Return more helpful errors when RSA parameters are negative or zero.

Patch Set 1 #

Patch Set 2 : diff -r 3bd3cbecadd8 https://code.google.com/p/go/ #

Patch Set 3 : diff -r 3bd3cbecadd8 https://code.google.com/p/go/ #

Patch Set 4 : diff -r 58e1987657d6 https://code.google.com/p/go/ #

Unified diffs Side-by-side diffs Delta from patch set Stats (+7 lines, -0 lines) Patch
M src/pkg/crypto/x509/x509.go View 1 1 chunk +7 lines, -0 lines 0 comments Download

Messages

Total messages: 3
agl1
Hello golang-dev@googlegroups.com (cc: golang-dev@googlegroups.com), I'd like you to review this change to https://code.google.com/p/go/
11 years, 2 months ago (2013-01-31 15:47:48 UTC) #1
rsc
LGTM
11 years, 2 months ago (2013-01-31 15:51:15 UTC) #2
agl1
11 years, 2 months ago (2013-01-31 17:54:57 UTC) #3
*** Submitted as https://code.google.com/p/go/source/detail?r=b3af92ac5a0c ***

crypto/x509: test for negative RSA parameters.

Someone found software that generates negative numbers for the RSA
modulus in an X.509 certificate. Our error messages were very poor in
this case so this change improves that.

Update issue 4728
Return more helpful errors when RSA parameters are negative or zero.

R=golang-dev, rsc
CC=golang-dev
https://codereview.appspot.com/7228072
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b