fix patch error

This commit is contained in:
shixuantong 2022-06-29 11:38:44 +08:00
parent c552c9bbb3
commit 07ebe2d0fd
2 changed files with 8 additions and 2 deletions

View File

@ -91,7 +91,7 @@ index b33c7a2..04b4e19 100644
+)
+
+
+def is_pem_format(bytes):
+def is_pem_format(key):
+ return bool(_PEM_RE.search(key))
+
+

View File

@ -2,7 +2,7 @@
%bcond_with tests
Name: python-jwt
Version: 1.7.1
Release: 3
Release: 4
Summary: JSON Web Token implementation in Python
License: MIT
URL: https://github.com/jpadilla/pyjwt
@ -71,6 +71,12 @@ Requires: python%{python3_pkgversion}-cryptography
%doc README.rst
%changelog
* Wed Jun 29 2022 shixuantong <shixuantong@h-partners.com> - 1.7.1-4
- Type:bugfix
- ID:NA
- SUG:NA
- DESC: fix patch error
* Tue Jun 14 2022 shixuantong <shixuantong@h-partners.com> - 1.7.1-3
- Type:CVE
- ID:CVE-2022-29217