Skip to content

Commit

Permalink
kisa seed_cbc undefined 변수 수정
Browse files Browse the repository at this point in the history
SEED_CBC_Decrypt 함수
return null 전에 초기화
  • Loading branch information
kitrio committed Apr 11, 2024
1 parent b52a1f4 commit b3ea5f1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions plugin/inicert/libs/KISA_SEED_CBC.php
Expand Up @@ -782,6 +782,7 @@ static function SEED_CBC_Decrypt(&$pbszUserKey, &$pbszIV, &$message, $message_of
$pbszCipherText = array_pad(array(), $message_length, 0);
Common::arraycopy_system($message, $message_offset, $pbszCipherText, 0, $message_length);
$nCipherTextLen = count($pbszCipherText);
$result = null;

if ($nCipherTextLen % KISA_SEED_CBC::BLOCK_SIZE_SEED) {
return $result;
Expand Down

0 comments on commit b3ea5f1

Please sign in to comment.