Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions scapy/asn1/mib.py
Original file line number Diff line number Diff line change
Expand Up @@ -807,6 +807,7 @@ def load_mib(filenames):
# of some algorithms from pkcs1_oids and x962Signature_oids.

hash_by_oid = {
"1.2.840.113549.1.1.1": "sha1",
"1.2.840.113549.1.1.2": "md2",
"1.2.840.113549.1.1.3": "md4",
"1.2.840.113549.1.1.4": "md5",
Expand Down
2 changes: 1 addition & 1 deletion scapy/layers/gssapi.py
Original file line number Diff line number Diff line change
Expand Up @@ -342,7 +342,7 @@ def fromssl(
log_runtime.warning("Failed to parse the SSL Certificate. CBT not used")
return GSS_C_NO_CHANNEL_BINDINGS
try:
h = cert.getSignatureHash()
h = cert.getCertSignatureHash()
except Exception:
# We failed to get the signature algorithm.
log_runtime.warning(
Expand Down
Loading
Loading