Do not use possibly nil HttpRequest object in default OCSP handler (#18190)
This commit is contained in:
parent
f5543bd25b
commit
9bf3b4c582
|
@ -239,7 +239,7 @@ func fetchDerEncodedRequest(request *logical.Request, data *framework.FieldData)
|
|||
}
|
||||
return requestBytes, nil
|
||||
default:
|
||||
return nil, fmt.Errorf("unsupported request method: %s", request.HTTPRequest.Method)
|
||||
return nil, fmt.Errorf("unsupported request method: %s", request.Operation)
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue