Skip to content

Commit

Permalink
support 'none' compression at privatebin.net
Browse files Browse the repository at this point in the history
  • Loading branch information
grawity committed Sep 20, 2021
1 parent 68f8b43 commit 1a76d83
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion getpaste
Original file line number Diff line number Diff line change
Expand Up @@ -704,7 +704,7 @@ sub unwrap_privatebin_v2 {
unless ($mode eq "gcm") {
_die("unsupported cipher mode ".$mode);
}
unless ($comp eq "zlib") {
unless ($comp =~ /^(none|zlib)$/) {
_die("unsupported compression ".$comp);
}

Expand Down

0 comments on commit 1a76d83

Please sign in to comment.