]> Dogcows Code - chaz/p5-File-KDBX/blobdiff - lib/File/KDBX/Dumper/V3.pm
Prereq CryptX 0.049 for encode_b32*
[chaz/p5-File-KDBX] / lib / File / KDBX / Dumper / V3.pm
index b8cf01c1f056ca3f2c0020d448752f4ce72834a9..cf1f1ed85dae3d5ee7f17bc4bffc4ef444a03e7f 100644 (file)
@@ -59,7 +59,7 @@ sub _write_header {
     my $type = shift;
     my $val  = shift // '';
 
-    $type = kdbx_header($type);
+    $type = to_header_constant($type);
     if ($type == HEADER_END) {
         $val = "\r\n\r\n";
     }
@@ -152,7 +152,6 @@ sub _write_body {
 
     $fh->print($kdbx->headers->{+HEADER_STREAM_START_BYTES})
         or throw 'Failed to write start bytes';
-    $fh->flush;
 
     $kdbx->key($key);
 
This page took 0.024674 seconds and 4 git commands to generate.