Skip to content
Snippets Groups Projects
Commit a70212e7 authored by Morris Jette's avatar Morris Jette
Browse files

Remove vestigial function

parent 2806f6d9
No related branches found
No related tags found
No related merge requests found
......@@ -2125,22 +2125,6 @@ sbcast_cred_t *create_sbcast_cred(slurm_cred_ctx_t ctx,
return sbcast_cred;
}
/* Copy an sbcast credential created using create_sbcast_cred() or
* unpack_sbcast_cred() */
sbcast_cred_t *copy_sbcast_cred(sbcast_cred_t *sbcast_cred)
{
sbcast_cred_t *rcred = NULL;
xassert(sbcast_cred);
rcred->ctime = sbcast_cred->ctime;
rcred->expiration = sbcast_cred->expiration;
rcred->jobid = sbcast_cred->jobid;
rcred->nodes = xstrdup(sbcast_cred->nodes);
rcred->siglen = sbcast_cred->siglen;
rcred->signature = xstrdup(sbcast_cred->signature);
return rcred;
}
/* Delete an sbcast credential created using create_sbcast_cred() or
* unpack_sbcast_cred() */
void delete_sbcast_cred(sbcast_cred_t *sbcast_cred)
......
......@@ -339,7 +339,6 @@ void slurm_cred_print(slurm_cred_t *cred);
sbcast_cred_t *create_sbcast_cred(slurm_cred_ctx_t ctx,
uint32_t job_id, char *nodes,
time_t expiration);
sbcast_cred_t *copy_sbcast_cred(sbcast_cred_t *sbcast_cred);
void delete_sbcast_cred(sbcast_cred_t *sbcast_cred);
int extract_sbcast_cred(slurm_cred_ctx_t ctx,
sbcast_cred_t *sbcast_cred, uint16_t block_no,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment