mirror of
https://git.proxmox.com/git/proxmox-backup
synced 2025-08-07 12:53:57 +00:00
fix typos in comments
Signed-off-by: Maximiliano Sandoval <m.sandoval@proxmox.com>
This commit is contained in:
parent
ab8e84498d
commit
a62a9f098d
2
debian/proxmox-backup-file-restore.postinst
vendored
2
debian/proxmox-backup-file-restore.postinst
vendored
@ -9,7 +9,7 @@ update_initramfs() {
|
|||||||
CACHE_PATH_DBG="/var/cache/proxmox-backup/file-restore-initramfs-debug.img"
|
CACHE_PATH_DBG="/var/cache/proxmox-backup/file-restore-initramfs-debug.img"
|
||||||
|
|
||||||
# cleanup first, in case proxmox-file-restore was uninstalled since we do
|
# cleanup first, in case proxmox-file-restore was uninstalled since we do
|
||||||
# not want an unuseable image lying around
|
# not want an unusable image lying around
|
||||||
rm -f "$CACHE_PATH"
|
rm -f "$CACHE_PATH"
|
||||||
|
|
||||||
if [ ! -f "$INST_PATH/initramfs.img" ]; then
|
if [ ! -f "$INST_PATH/initramfs.img" ]; then
|
||||||
|
@ -236,7 +236,7 @@ struct SspDataEncryptionAlgorithmDescriptor {
|
|||||||
algorithm_code: u32,
|
algorithm_code: u32,
|
||||||
}
|
}
|
||||||
|
|
||||||
// Returns the algorythm_index for AES-GCM
|
// Returns the algorithm_index for AES-GCM
|
||||||
fn decode_spin_data_encryption_caps(data: &[u8]) -> Result<u8, Error> {
|
fn decode_spin_data_encryption_caps(data: &[u8]) -> Result<u8, Error> {
|
||||||
proxmox_lang::try_block!({
|
proxmox_lang::try_block!({
|
||||||
let mut reader = data;
|
let mut reader = data;
|
||||||
|
@ -26,7 +26,7 @@ const FINGERPRINT_INPUT: [u8; 32] = [
|
|||||||
pub struct CryptConfig {
|
pub struct CryptConfig {
|
||||||
// the Cipher
|
// the Cipher
|
||||||
cipher: Cipher,
|
cipher: Cipher,
|
||||||
// A secrect key use to provide the chunk digest name space.
|
// A secret key use to provide the chunk digest name space.
|
||||||
id_key: [u8; 32],
|
id_key: [u8; 32],
|
||||||
// Openssl hmac PKey of id_key
|
// Openssl hmac PKey of id_key
|
||||||
id_pkey: openssl::pkey::PKey<openssl::pkey::Private>,
|
id_pkey: openssl::pkey::PKey<openssl::pkey::Private>,
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
// Tape Media Pool tests - test allow_ritable_media() function
|
// Tape Media Pool tests - test allow_writable_media() function
|
||||||
//
|
//
|
||||||
// # cargo test --release tape::test::alloc_writable_media
|
// # cargo test --release tape::test::alloc_writable_media
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user