aboutsummaryrefslogtreecommitdiff
path: root/src/base64.c
AgeCommit message (Collapse)AuthorFilesLines
2019-12-09base64: Use SSH_BUFFER_FREE()Andreas Schneider1-1/+1
Fixes T183 Signed-off-by: Andreas Schneider <asn@cryptomilk.org> Reviewed-by: Jakub Jelen <jjelen@redhat.com>
2019-12-09base64: Fix size types of bin_to_base64()Andreas Schneider1-4/+7
Fixes T188 Signed-off-by: Andreas Schneider <asn@cryptomilk.org> Reviewed-by: Jakub Jelen <jjelen@redhat.com>
2019-12-09base64: Reformat bin_to_base64()Andreas Schneider1-19/+20
Fixes T188 Signed-off-by: Andreas Schneider <asn@cryptomilk.org> Reviewed-by: Jakub Jelen <jjelen@redhat.com>
2019-12-09base64: Make alphabet and const uint8_tAndreas Schneider1-7/+8
Fixes T188 Signed-off-by: Andreas Schneider <asn@cryptomilk.org> Reviewed-by: Jakub Jelen <jjelen@redhat.com>
2019-12-09base64: Reformat _bin_to_base64()Andreas Schneider1-22/+25
Fixes T188 Signed-off-by: Andreas Schneider <asn@cryptomilk.org> Reviewed-by: Jakub Jelen <jjelen@redhat.com>
2018-06-28Remove vim modelines from all filesAndreas Schneider1-2/+0
If you want modelines use my vim plugin: https://github.com/cryptomilk/git-modeline.vim git config --add vim.modeline "ts=4 sw=4 et" Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
2017-10-28Fix config.h includesAndreas Schneider1-2/+2
We need stdlib.h and string.h in priv.h for free() and memset(). Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
2015-02-03buffer: fix use-before-nullcheck (coverity #1267979)Aris Adamantiadis1-2/+0
Additionally, the function call was already existing after the NULL check
2015-02-02base64: Use secure buffersAris Adamantiadis1-0/+2
Signed-off-by: Aris Adamantiadis <aris@0xbadc0de.be> Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
2014-09-07base64: Use a secure buffer.Aris Adamantiadis1-0/+5
Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
2014-01-19src: Rename buffer_add_data() to ssh_buffer_add_data().Andreas Schneider1-4/+4
2011-01-02base64: Added casts to GET macros to fix build warnings.Andreas Schneider1-3/+3
2010-09-06misc: Rename libssh/ to src/Andreas Schneider1-0/+287