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

Issue 6175047: code review 6175047: crypto/x509: fix panic when using unavailable hash function. (Closed)

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

Description

crypto/x509: fix panic when using unavailable hash function. crypto.Hash.New() changed to panicking when the hash function isn't linked in, but crypto/x509 still expects it to return nil.

Patch Set 1 #

Patch Set 2 : diff -r d088bc4e2e64 https://go.googlecode.com/hg/ #

Patch Set 3 : diff -r d088bc4e2e64 https://go.googlecode.com/hg/ #

Patch Set 4 : diff -r 28674da4a22b https://go.googlecode.com/hg/ #

Unified diffs Side-by-side diffs Delta from patch set Stats (+2 lines, -2 lines) Patch
M src/pkg/crypto/x509/x509.go View 1 1 chunk +2 lines, -2 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://go.googlecode.com/hg/
12 years, 10 months ago (2012-05-03 14:32:21 UTC) #1
rsc
LGTM
12 years, 10 months ago (2012-05-03 19:56:08 UTC) #2
agl1
12 years, 10 months ago (2012-05-03 20:40:08 UTC) #3
*** Submitted as http://code.google.com/p/go/source/detail?r=d8d358ddc6e0 ***

crypto/x509: fix panic when using unavailable hash function.

crypto.Hash.New() changed to panicking when the hash function isn't
linked in, but crypto/x509 still expects it to return nil.

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

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