mirror of
https://github.com/wavelog/wavelog.git
synced 2026-03-22 10:24:14 +00:00
Wrap signature correctly
This commit is contained in:
@@ -226,9 +226,8 @@ $sign_string = strtoupper($sign_string);
|
||||
$signed_item = trim($CI->signlog($lotw_cert_info->cert_key, $sign_string));
|
||||
print "<SIGN_LOTW_V2.0:".(strlen($signed_item)+intdiv(strlen($signed_item),64)+1).":6>";
|
||||
for ($i=0; $i<strlen($signed_item); $i+=64) {
|
||||
print substr($signed_item, $i, 64);
|
||||
print substr($signed_item, $i, 64)."\n";
|
||||
}
|
||||
print "\n";
|
||||
print "<SIGNDATA:".strlen($sign_string).">".$sign_string."\n";
|
||||
?>
|
||||
<eor>
|
||||
|
||||
Reference in New Issue
Block a user