Searched refs:copy (Results 1 – 14 of 14) sorted by relevance
/openssh-portable/openbsd-compat/ |
H A D | strndup.c | 30 char *copy; in strndup() local 34 copy = malloc(len + 1); in strndup() 35 if (copy != NULL) { in strndup() 36 (void)memcpy(copy, str, len); in strndup() 37 copy[len] = '\0'; in strndup() 40 return copy; in strndup()
|
H A D | libressl-api-compat.c | 542 RSA_METHOD *copy; in RSA_meth_dup() local 544 if ((copy = calloc(1, sizeof(*copy))) == NULL) in RSA_meth_dup() 546 memcpy(copy, meth, sizeof(*copy)); in RSA_meth_dup() 547 if ((copy->name = strdup(meth->name)) == NULL) { in RSA_meth_dup() 548 free(copy); in RSA_meth_dup() 552 return copy; in RSA_meth_dup() 560 char *copy; in RSA_meth_set1_name() local 562 if ((copy = strdup(name)) == NULL) in RSA_meth_set1_name() 565 meth->name = copy; in RSA_meth_set1_name()
|
H A D | glob.c | 805 char *copy = NULL; local 874 if ((copy = malloc(len)) != NULL) { 875 if (g_Ctoc(path, copy, len)) { 876 free(copy); 879 pathv[pglob->gl_offs + pglob->gl_pathc++] = copy; 890 return(copy == NULL ? GLOB_NOSPACE : 0);
|
/openssh-portable/regress/ |
H A D | scp.sh | 50 cmp ${COPY} ${DIR}/copy || fail "corrupted copy" 56 cmp ${COPY} ${DIR}/copy || fail "corrupted copy" 62 cmp ${COPY} ${DIR}/copy || fail "corrupted copy" 67 cp ${DATA} ${DIR}/copy 74 cp ${DATA} ${DIR}/copy 81 cp ${DATA} ${DIR}/copy 95 cp -p ${DATA} ${DIR}/copy 97 cp ${DATA} ${DIR2}/copy 98 chmod 660 ${DIR2}/copy 99 $SUDO chown root ${DIR2}/copy [all …]
|
H A D | sftp-uri.sh | 33 cmp ${COPY} ${DIR}/copy || fail "corrupted copy" 40 put ${DATA} copy 46 cmp ${DATA} ${DIR}/copy || fail "corrupted copy" 54 put ${DATA} copy 60 cmp ${DATA} ${DIR}/copy || fail "corrupted copy"
|
H A D | scp-uri.sh | 41 cmp ${COPY} ${DIR}/copy || fail "corrupted copy" 47 cmp ${COPY} ${DIR}/copy || fail "corrupted copy" 52 cp ${DATA} ${DIR}/copy 61 cp ${DATA} ${DIR}/copy
|
H A D | Makefile | 111 copy.1 copy.2 data ed25519-agent ed25519-agent* \ 119 known_hosts known_hosts-cert known_hosts.* krl-* ls.copy \
|
H A D | test-exec.sh | 267 COPY=$OBJ/copy
|
/openssh-portable/contrib/cygwin/ |
H A D | Makefile | 66 install-copy-id: $(copyidsrcdir)/ssh-copy-id $(copyidsrcdir)/ssh-copy-id.1 67 $(INSTALL) -m 755 $(copyidsrcdir)/ssh-copy-id $(DESTDIR)$(bindir)/ssh-copy-id 68 $(INSTALL) -m 644 $(copyidsrcdir)/ssh-copy-id.1 $(DESTDIR)$(mandir)/man1/ssh-copy-id.1 77 …remove-empty-dir install-inetd-config install-doc install-scripts install-copy-id gzip-man-pages
|
/openssh-portable/ |
H A D | krl.c | 984 struct sshbuf *copy = NULL, *sect = NULL; in ssh_krl_from_blob() local 1003 if ((copy = sshbuf_fromb(buf)) == NULL) { in ssh_krl_from_blob() 1024 (r = sshbuf_skip_string(copy)) != 0 || in ssh_krl_from_blob() 1038 if (sshbuf_len(buf) < sshbuf_len(copy)) { in ssh_krl_from_blob() 1044 while (sshbuf_len(copy) > 0) { in ssh_krl_from_blob() 1065 if (sshbuf_len(buf) < sshbuf_len(copy)) { in ssh_krl_from_blob() 1101 if (sshbuf_len(copy) != 0) { in ssh_krl_from_blob() 1111 sshbuf_free(copy); in ssh_krl_from_blob() 1112 if ((copy = sshbuf_fromb(buf)) == NULL) { in ssh_krl_from_blob() 1118 while (sshbuf_len(copy) > 0) { in ssh_krl_from_blob() [all …]
|
H A D | misc.c | 445 struct passwd *copy = xcalloc(1, sizeof(*copy)); in pwcopy() local 447 copy->pw_name = xstrdup(pw->pw_name); in pwcopy() 450 copy->pw_gecos = xstrdup(pw->pw_gecos); in pwcopy() 452 copy->pw_uid = pw->pw_uid; in pwcopy() 453 copy->pw_gid = pw->pw_gid; in pwcopy() 455 copy->pw_expire = pw->pw_expire; in pwcopy() 458 copy->pw_change = pw->pw_change; in pwcopy() 461 copy->pw_class = xstrdup(pw->pw_class); in pwcopy() 463 copy->pw_dir = xstrdup(pw->pw_dir); in pwcopy() 464 copy->pw_shell = xstrdup(pw->pw_shell); in pwcopy() [all …]
|
H A D | sshkey-xmss.c | 985 struct sshbuf *copy = NULL, *decrypted = NULL; in sshkey_xmss_decrypt_state() local 1013 if ((copy = sshbuf_fromb(encoded)) == NULL || in sshkey_xmss_decrypt_state() 1044 aadlen = sshbuf_len(copy) - sshbuf_len(encoded); in sshkey_xmss_decrypt_state() 1054 (r = cipher_crypt(ciphercontext, 0, dp, sshbuf_ptr(copy), in sshkey_xmss_decrypt_state() 1079 sshbuf_free(copy); in sshkey_xmss_decrypt_state()
|
H A D | sshkey.c | 2344 struct sshbuf *copy; in sshkey_from_blob_internal() local 2358 if ((copy = sshbuf_fromb(b)) == NULL) { in sshkey_from_blob_internal() 2571 if (sshkey_is_cert(key) && (ret = cert_parse(b, key, copy)) != 0) in sshkey_from_blob_internal() 2584 sshbuf_free(copy); in sshkey_from_blob_internal()
|
H A D | configure.ac | 4 # Permission to use, copy, modify, and distribute this software for any 5450 # Make a copy of CFLAGS/LDFLAGS without PIE options.
|
Completed in 120 milliseconds