Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
E
edx-platform-release
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Package Registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Hsin-Yu Chien
edx-platform-release
Commits
aff9aca9
Unverified
Commit
aff9aca9
authored
5 years ago
by
Ayub
Committed by
GitHub
5 years ago
Browse files
Options
Downloads
Plain Diff
Merge pull request #21461 from edx/BOM-294
BOM-294
parents
1c4a645d
f80cbf3e
No related branches found
Branches containing commit
Tags
release-2021-09-20-15.20
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
lms/djangoapps/verify_student/ssencrypt.py
+1
-1
1 addition, 1 deletion
lms/djangoapps/verify_student/ssencrypt.py
with
1 addition
and
1 deletion
lms/djangoapps/verify_student/ssencrypt.py
+
1
−
1
View file @
aff9aca9
...
...
@@ -97,7 +97,7 @@ def random_aes_key():
def
pad
(
data
):
"""
Pad the given `data` such that it fits into the proper AES block size
"""
if
six
.
PY3
:
if
six
.
PY3
and
not
isinstance
(
data
,
(
bytes
,
bytearray
))
:
data
=
six
.
b
(
data
)
padder
=
PKCS7
(
AES
.
block_size
).
padder
()
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment