Fix a bug introduced in 81fa97f and make ./start.sh work

This commit is contained in:
Richard Barnes 2015-06-01 12:46:19 -04:00
parent dbff11ed2f
commit 63ca50229d
2 changed files with 3 additions and 3 deletions

View File

@ -46,7 +46,7 @@
"issuerCert": "test/test-ca.pem", "issuerCert": "test/test-ca.pem",
"_comment": "This should only be present in testMode. In prod use an HSM.", "_comment": "This should only be present in testMode. In prod use an HSM.",
"issuerKey": "test/test-ca.key", "issuerKey": "test/test-ca.key",
"expiry": "8760h", "expiry": "2160h",
"maxNames": 1000 "maxNames": 1000
}, },
@ -57,7 +57,7 @@
"sql": { "sql": {
"SQLDebug": true, "SQLDebug": true,
"CreateTables": false "CreateTables": true
}, },
"revoker": { "revoker": {

View File

@ -575,7 +575,7 @@ func (wfe *WebFrontEndImpl) Registration(response http.ResponseWriter, request *
} }
// Ask the RA to update this authorization. // Ask the RA to update this authorization.
updatedReg, err := wfe.RA.UpdateRegistration(currReg, currReg) updatedReg, err := wfe.RA.UpdateRegistration(currReg, update)
if err != nil { if err != nil {
wfe.sendError(response, "Unable to update registration", err, statusCodeFromError(err)) wfe.sendError(response, "Unable to update registration", err, statusCodeFromError(err))
return return