Skip to content

Commit

Permalink
We only fetch one row nowadays
Browse files Browse the repository at this point in the history
  • Loading branch information
theseal committed Dec 3, 2024
1 parent bbb1132 commit 088716d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ocsp-server.py
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ def ocsp_server(unsafe_realm):
cert_rows = cur.fetchone()

conn.close()
cert = load_pem_x509_certificate(cert_rows[0][0])
cert = load_pem_x509_certificate(cert_rows[0])
revoked = cert_rows[1]
user = cert_rows[2]
cn = cert_rows[3]
Expand Down

0 comments on commit 088716d

Please sign in to comment.